1/* Although Alpha defines _DIRENT_MATCHES_DIRENT64, 'struct dirent' and
2 'struct dirent64' have slight different internal layout with d_ino
3 being a __ino_t on non-LFS version with an extra __pad field which should
4 be zeroed. */
5
6#include <dirent.h>
7#undef _DIRENT_MATCHES_DIRENT64
8#define _DIRENT_MATCHES_DIRENT64 0
9#define DIRENT_SET_DP_INO(dp, value) \
10 do { (dp)->d_ino = (value); (dp)->__pad = 0; } while (0)
11#include <sysdeps/unix/sysv/linux/getdents.c>
12

source code of glibc/sysdeps/unix/sysv/linux/alpha/getdents.c