Back to index

glibc  2.9
glob64.c
Go to the documentation of this file.
00001 #include <dirent.h>
00002 #include <glob.h>
00003 #include <sys/stat.h>
00004 
00005 #define dirent dirent64
00006 #define __readdir(dirp) __readdir64 (dirp)
00007 
00008 #define glob_t glob64_t
00009 #define glob(pattern, flags, errfunc, pglob) \
00010   glob64 (pattern, flags, errfunc, pglob)
00011 #define globfree(pglob) globfree64 (pglob)
00012 
00013 #undef stat
00014 #define stat stat64
00015 #undef __stat
00016 #define __stat(file, buf) __xstat64 (_STAT_VER, file, buf)
00017 
00018 #define NO_GLOB_PATTERN_P 1
00019 
00020 #define COMPILE_GLOB64      1
00021 
00022 #include <posix/glob.c>
00023 
00024 libc_hidden_def (glob64)
00025 libc_hidden_def (globfree64)