#include #include #include extern "C" { ssize_t getdents(int fd, struct luna_dirent* buf, size_t count) { return syscall(SYS_getdents, fd, buf, count); } }