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

#include <sysdeps/unix/readdir_r.c>

#include <shlib-compat.h>

versioned_symbol (libc, __readdir64_r, readdir64_r, GLIBC_2_2);

#if SHLIB_COMPAT(libc, GLIBC_2_1, GLIBC_2_2)
strong_alias (__readdir64_r, __old_readdir64_r)
compat_symbol (libc, __old_readdir64_r, readdir64_r, GLIBC_2_1);
#endif