mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-27 21:20:18 +00:00
19873b18b0
Similar to fts, ftw routines passes a stat pointer that might differ of size and layout when 64-bit time API is used. Checked on i686-linux-gnu and x86_64-linux-gnu. Reviewed-by: Lukasz Majewski <lukma@denx.de> Reviewed-by: Carlos O'Donell <carlos@redhat.com> Tested-by: Carlos O'Donell <carlos@redhat.com>
20 lines
505 B
C
20 lines
505 B
C
#ifndef _FTW_H
|
|
#include <io/ftw.h>
|
|
|
|
#ifndef _ISOMAC
|
|
# if __TIMESIZE != 64
|
|
# include <sys/stat.h>
|
|
|
|
typedef int (*__ftw64_time64_func_t) (const char *,
|
|
const struct __stat64_t64 *, int);
|
|
typedef int (*__nftw64_time64_func_t) (const char *,
|
|
const struct __stat64_t64 *, int,
|
|
struct FTW *);
|
|
|
|
extern int __ftw64_time64 (const char *, __ftw64_time64_func_t, int);
|
|
extern int __nftw64_time64 (const char *, __nftw64_time64_func_t, int, int);
|
|
# endif
|
|
#endif
|
|
|
|
#endif /* _FTW_H */
|