mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-29 13:48:21 +00:00
vfs: expect fd argument to a few calls
This commit is contained in:
@@ -13,5 +13,5 @@ typedef unsigned socklen_t;
|
||||
|
||||
int unsocket_new(struct _socket_t** returnptr, int type, int protocol);
|
||||
int unsocket_bind(struct _socket_t* sock, sockaddr_un* addr, socklen_t addrlen);
|
||||
int unsocket_send(struct _socket_t* socket, void* buff, socklen_t len, int flags, int* error);
|
||||
int unsocket_send(struct _socket_t* socket, void* buff, size_t len, int flags, int* error, fd_t* fd);
|
||||
#endif
|
||||
|
||||
@@ -82,7 +82,7 @@ int vfs_close(vnode_t* node);
|
||||
int vfs_mkdir(dirnode_t* ref, char* path, mode_t mode);
|
||||
int vfs_create(dirnode_t* ref, char* path, mode_t mode);
|
||||
int vfs_write(int* error, vnode_t* node, void* buff, size_t count, size_t offset);
|
||||
int vfs_read(int* error, vnode_t* node, void* buff, size_t count, size_t offset);
|
||||
int vfs_read(int* error, vnode_t* node, void* buff, size_t count, size_t offset, void* fd);
|
||||
int vfs_isatty(vnode_t* node);
|
||||
int vfs_getdirent(dirnode_t* node, dent_t* buff, size_t count, uintmax_t offset, size_t* readcount);
|
||||
int vfs_ioctl(vnode_t* node, unsigned long request, void* arg, int* result);
|
||||
|
||||
Reference in New Issue
Block a user