blob: 0fbf3443845009863b10ea9dc62907abdcd7b8df [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);