Files
semi-libc/src/linux/getdents.c
T
Rich Felker ebb6afde68 remove unused __getdents, rename and move file
the __-prefixed filename does not make sense when the only purpose of
this file is implementing a public function that's not used as a
backend for implementing the standard dirent functions.
2018-09-12 14:34:35 -04:00

10 lines
162 B
C

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