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:
Axel Dörfler
2002-10-17 03:04:19 +00:00
parent 940ff9b93c
commit 8e5ca65bc9
3 changed files with 14 additions and 13 deletions
+2 -1
View File
@@ -34,7 +34,8 @@ struct fd_ops {
// int (*fd_poll)(struct file_descriptor *, int);
status_t (*fd_read_dir)(struct file_descriptor *,struct dirent *buffer,size_t bufferSize,uint32 *_count);
status_t (*fd_rewind_dir)(struct file_descriptor *);
status_t (*fd_stat)(struct file_descriptor *, struct stat *);
status_t (*fd_read_stat)(struct file_descriptor *, struct stat *);
status_t (*fd_write_stat)(struct file_descriptor *, const struct stat *, int statMask);
status_t (*fd_close)(struct file_descriptor *);
void (*fd_free)(struct file_descriptor *);
};