diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-05-06 02:43:04 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-05-06 02:43:04 +0000 |
commit | 4e506c9aefe5b89970ae6894d05ad53c81af0d83 (patch) | |
tree | 2fac98df209e72eaba773cad2d7b90c99d9d9249 /mdk-stage1/dietlibc/include/dirent.h | |
parent | 793707b39bf2e9df40a6d2d60b83b3061088ae9e (diff) | |
download | drakx-4e506c9aefe5b89970ae6894d05ad53c81af0d83.tar drakx-4e506c9aefe5b89970ae6894d05ad53c81af0d83.tar.gz drakx-4e506c9aefe5b89970ae6894d05ad53c81af0d83.tar.bz2 drakx-4e506c9aefe5b89970ae6894d05ad53c81af0d83.tar.xz drakx-4e506c9aefe5b89970ae6894d05ad53c81af0d83.zip |
use installed dietlibc, not our forked cvs version
Diffstat (limited to 'mdk-stage1/dietlibc/include/dirent.h')
-rw-r--r-- | mdk-stage1/dietlibc/include/dirent.h | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/mdk-stage1/dietlibc/include/dirent.h b/mdk-stage1/dietlibc/include/dirent.h deleted file mode 100644 index ad8b3a41a..000000000 --- a/mdk-stage1/dietlibc/include/dirent.h +++ /dev/null @@ -1,64 +0,0 @@ -#ifndef _DIRENT_H -#define _DIRENT_H 1 - -#include <sys/cdefs.h> -#include <sys/types.h> -#include <limits.h> - -struct dirent { - long d_ino; - off_t d_off; - unsigned short d_reclen; - char d_name[256]; /* We must not include limits.h! */ -}; - -#ifndef __STRICT_ANSI__ -struct dirent64 { - uint64_t d_ino; - int64_t d_off; - unsigned short d_reclen; - unsigned char d_type; - char d_name[256]; -}; -#endif - -#define d_fileno d_ino /* Backwards compatibility. */ - -#undef _DIRENT_HAVE_D_NAMLEN -#define _DIRENT_HAVE_D_RECLEN -#define _DIRENT_HAVE_D_OFF - -typedef struct __dirstream DIR; - -DIR *opendir (const char *__name) __THROW; -int closedir (DIR *__dirp) __THROW; -struct dirent *readdir (DIR *__dirp) __THROW; -struct dirent64 *readdir64 (DIR *__dirp) __THROW; -void rewinddir (DIR *__dirp) __THROW; -void seekdir (DIR *__dirp, long int __pos) __THROW; -long int telldir (DIR *__dirp) __THROW; - -int scandir(const char *dir, struct dirent ***namelist, - int (*selection)(const struct dirent *), - int (*compar)(const struct dirent **, const struct dirent **)) __THROW; -int scandir64(const char *dir, struct dirent64 ***namelist, - int (*selection)(const struct dirent64 *), - int (*compar)(const struct dirent64 **, const struct dirent64 **)) __THROW; - -int alphasort(const struct dirent **a, const struct dirent **b) __THROW __attribute__((const)); -int alphasort64(const struct dirent64 **a, const struct dirent64 **b) __THROW __attribute__((const)); - -#define MAXNAMLEN NAME_MAX - -#ifdef _BSD_SOURCE -extern int dirfd(DIR *dirp) __THROW; -#endif - -#if defined _FILE_OFFSET_BITS && _FILE_OFFSET_BITS == 64 -#define dirent dirent64 -#define readdir readdir64 -#define scandir scandir64 -#define alphasort alphasort64 -#endif - -#endif |