wireup linux/name_to_handle_at and name_to_handle_at syscalls
[musl.git] / src / linux / getdents.c
blobde6de3b425bcc23063d2198762ff42e80edeec4e
1 #define _BSD_SOURCE
2 #include <dirent.h>
3 #include "syscall.h"
5 int getdents(int fd, struct dirent *buf, size_t len)
7 return syscall(SYS_getdents, fd, buf, len);
10 weak_alias(getdents, getdents64);