Added a new write_stat() call to the file descriptor operations.
Renamed sys_read_stat() to sys_read_path_stat() - sys_read_stat() is now the fd operation. Removed the sys_write_attr_stat() call because it is no longer needed. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1554 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -78,12 +78,11 @@ int sys_create_link(const char *path, const char *toPath);
|
||||
int sys_unlink(const char *path);
|
||||
int sys_rename(const char *oldpath, const char *newpath);
|
||||
int sys_access(const char *path, int mode);
|
||||
int sys_read_stat(const char *path, bool traverseLink, struct stat *stat);
|
||||
int sys_write_stat(int fd, const char *path, bool traverseLink, struct stat *stat, int statMask);
|
||||
int sys_read_path_stat(const char *path, bool traverseLink, struct stat *stat);
|
||||
int sys_write_path_stat(const char *path, bool traverseLink, const struct stat *stat, int statMask);
|
||||
int sys_open_attr_dir(int fd, const char *path);
|
||||
int sys_create_attr(int fd, const char *name, uint32 type, int openMode);
|
||||
int sys_open_attr(int fd, const char *name, int openMode);
|
||||
int sys_write_attr_stat(int fd, const struct stat *stat, int statMask);
|
||||
int sys_remove_attr(int fd, const char *name);
|
||||
int sys_rename_attr(int fromFile, const char *fromName, int toFile, const char *toName);
|
||||
int sys_getcwd(char *buffer, size_t size);
|
||||
@@ -112,12 +111,11 @@ int user_create_link(const char *path, const char *toPath);
|
||||
int user_unlink(const char *path);
|
||||
int user_rename(const char *oldpath, const char *newpath);
|
||||
int user_access(const char *path, int mode);
|
||||
int user_read_stat(const char *path, bool traverseLink, struct stat *stat);
|
||||
int user_write_stat(int fd, const char *path, bool traverseLink, struct stat *stat, int statMask);
|
||||
int user_read_path_stat(const char *path, bool traverseLink, struct stat *stat);
|
||||
int user_write_path_stat(const char *path, bool traverseLink, const struct stat *stat, int statMask);
|
||||
int user_open_attr_dir(int fd, const char *path);
|
||||
int user_create_attr(int fd, const char *name, uint32 type, int openMode);
|
||||
int user_open_attr(int fd, const char *name, int openMode);
|
||||
int user_write_attr_stat(int fd, const struct stat *stat, int statMask);
|
||||
int user_remove_attr(int fd, const char *name);
|
||||
int user_rename_attr(int fromFile, const char *fromName, int toFile, const char *toName);
|
||||
int user_getcwd(char *buffer, size_t size);
|
||||
@@ -129,7 +127,8 @@ extern ssize_t sys_write(int fd, off_t pos, const void *buffer, size_t bufferSiz
|
||||
extern int sys_ioctl(int fd, ulong cmd, void *data, size_t length);
|
||||
extern ssize_t sys_read_dir(int fd, struct dirent *buffer, size_t bufferSize, uint32 maxCount);
|
||||
extern status_t sys_rewind_dir(int fd);
|
||||
extern int sys_fstat(int fd, struct stat *);
|
||||
extern int sys_read_stat(int fd, struct stat *stat);
|
||||
extern int sys_write_stat(int fd, const struct stat *stat, int statMask);
|
||||
extern int sys_close(int fd);
|
||||
extern int sys_dup(int fd);
|
||||
extern int sys_dup2(int ofd, int nfd);
|
||||
@@ -140,7 +139,8 @@ extern ssize_t user_write(int fd, off_t pos, const void *buffer, size_t bufferSi
|
||||
extern int user_ioctl(int fd, ulong cmd, void *data, size_t length);
|
||||
extern ssize_t user_read_dir(int fd, struct dirent *buffer, size_t bufferSize, uint32 maxCount);
|
||||
extern status_t user_rewind_dir(int fd);
|
||||
extern int user_fstat(int fd, struct stat *);
|
||||
extern int user_read_stat(int fd, struct stat *stat);
|
||||
extern int user_write_stat(int fd, const struct stat *stat, int statMask);
|
||||
extern int user_close(int fd);
|
||||
extern int user_dup(int fd);
|
||||
extern int user_dup2(int ofd, int nfd);
|
||||
|
||||
Reference in New Issue
Block a user