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