diff options
Diffstat (limited to 'src/linux/getdents.c')
-rw-r--r-- | src/linux/getdents.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/linux/getdents.c b/src/linux/getdents.c new file mode 100644 index 00000000..90f7556e --- /dev/null +++ b/src/linux/getdents.c @@ -0,0 +1,9 @@ +#include <dirent.h> +#include "syscall.h" + +int getdents(int fd, struct dirent *buf, size_t len) +{ + return syscall(SYS_getdents, fd, buf, len); +} + +LFS64(getdents); |