musl/src/dirent/__getdents.c
2011-03-20 00:16:43 -04:00

12 lines
217 B
C

#include <dirent.h>
#include "syscall.h"
#include "libc.h"
int __getdents(int fd, struct dirent *buf, size_t len)
{
return syscall(SYS_getdents, fd, buf, len);
}
weak_alias(__getdents, getdents);
LFS64(getdents);