Linux/Alpha egtdents implementation.
authorUlrich Drepper <drepper@redhat.com>
Sat, 12 Aug 2000 04:48:19 +0000 (04:48 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 12 Aug 2000 04:48:19 +0000 (04:48 +0000)
sysdeps/unix/sysv/linux/alpha/getdents.c [new file with mode: 0644]

diff --git a/sysdeps/unix/sysv/linux/alpha/getdents.c b/sysdeps/unix/sysv/linux/alpha/getdents.c
new file mode 100644 (file)
index 0000000..6deb87e
--- /dev/null
@@ -0,0 +1,6 @@
+#define DIRENT_SET_DP_INO(dp, value) \
+  do { (dp)->d_ino = (value); (dp)->__pad = 0; } while (0)
+#define __getdents64 __no___getdents64_decl
+#include <sysdeps/unix/sysv/linux/getdents.c>
+#undef __getdents64
+weak_alias(__getdents, __getdents64);