vfs: expect fd argument to a few calls

This commit is contained in:
Matheus
2022-10-24 15:40:38 -03:00
parent 72504f3598
commit 763ea89e83
5 changed files with 19 additions and 14 deletions
+1 -1
View File
@@ -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);