blob: 69076d25b19f7ed2aa50ded2f81a4f5328159047 [file] [log] [blame]
#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);
weak_alias(__getdents, getdents64);