Remove getdents from bionic.

Bug: 11156955
Change-Id: I6c306989801be552d85fba8a50dcdc79282fb9d2
This commit is contained in:
Elliott Hughes
2014-06-06 11:44:55 -07:00
parent c3bdc792be
commit 3d5cb30d23
12 changed files with 21 additions and 142 deletions

View File

@@ -238,4 +238,9 @@ extern "C" sighandler_t sysv_signal(int signum, sighandler_t handler) {
return _signal(signum, handler, SA_RESETHAND);
}
// This is a system call that was never in POSIX. Use readdir(3) instead.
extern "C" int getdents(unsigned int fd, struct dirent* dirp, unsigned int count) {
return __getdents64(fd, dirp, count);
}
#endif