about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/readdir64.c
blob: 9341e3bd13f797c9b78d169f6b856b7fda213642 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#define __READDIR __readdir64
#define __GETDENTS __getdents64
#define DIRENT_TYPE struct dirent64

#include <sysdeps/unix/readdir.c>

#include <shlib-compat.h>

versioned_symbol (libc, __readdir64, readdir64, GLIBC_2_2);

#if SHLIB_COMPAT(libc, GLIBC_2_1, GLIBC_2_2)
strong_alias (__readdir64, __old_readdir64)
compat_symbol (libc, __old_readdir64, readdir64, GLIBC_2_1);
#endif