diff options
Diffstat (limited to 'src/lib/include/syscall.h')
-rw-r--r-- | src/lib/include/syscall.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/include/syscall.h b/src/lib/include/syscall.h index 246c84c..c26a805 100644 --- a/src/lib/include/syscall.h +++ b/src/lib/include/syscall.h @@ -32,7 +32,7 @@ fd_t open(const char* name, int mode); void close(fd_t file); size_t read(fd_t file, size_t offset, size_t len, char *buf); size_t write(fd_t file, size_t offset, size_t len, const char* buf); -bool readdir(fd_t file, dirent_t *d); +bool readdir(fd_t file, size_t ent_no, dirent_t *d); bool stat_open(fd_t file, stat_t *s); int ioctl(fd_t file, int command, void* data); int get_mode(fd_t file); |