refactor headers, especially alltypes.h, and improve C++ ABI compat
[musl] / src / dirent / __getdents.c
1 #include <dirent.h>
2 #include "syscall.h"
3 #include "libc.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, getdents);
11
12 LFS64(getdents);