Added a sys_write_link() function.

Added a "mode" parameter to the sys_create_symlink() function.
Added an open_mode to the file_descriptor struct.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@591 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2002-08-05 05:31:32 +00:00
parent fbc9a56c28
commit dfa8e8ef78
2 changed files with 7 additions and 4 deletions
+2 -1
View File
@@ -26,7 +26,7 @@ struct io_context {
};
struct fd_ops {
char *fs_name;
char *fs_name; // can be removed, it's not used anywhere
ssize_t (*fd_read) (struct file_descriptor *, void *buffer, off_t pos, size_t *length);
ssize_t (*fd_write)(struct file_descriptor *, const void *buffer, off_t pos, size_t *length);
off_t (*fd_seek)(struct file_descriptor *, off_t pos, int seekType);
@@ -45,6 +45,7 @@ struct file_descriptor {
struct fd_ops *ops;
struct vnode *vnode;
void *cookie;
int32 open_mode;
};