cab29952dfd721963ab9c4fb13a96038c7163ae8
[musl] / src / linux / getdents.c
1 #define _BSD_SOURCE
2 #include <dirent.h>
3 #include "syscall.h"
4 #include "libc.h"
5
6 int getdents(int fd, struct dirent *buf, size_t len)
7 {
8         return syscall(SYS_getdents, fd, buf, len);
9 }
10
11 LFS64(getdents);