1#include <dirent.h> 2#include "syscall.h" 3#include "libc.h" 4 5int __getdents(int fd, struct dirent *buf, size_t len) 6{ 7 return syscall(SYS_getdents, fd, buf, len); 8} 9 10weak_alias(__getdents, getdents); 11 12LFS64(getdents); 13