version 1.22, 2011/07/03 18:51:01 |
version 1.23, 2011/07/14 02:16:00 |
|
|
int dd_len; /* size of data buffer */ |
int dd_len; /* size of data buffer */ |
off_t dd_seek; /* magic cookie returned by getdirentries */ |
off_t dd_seek; /* magic cookie returned by getdirentries */ |
off_t dd_rewind; /* magic cookie for rewinding */ |
off_t dd_rewind; /* magic cookie for rewinding */ |
int dd_flags; /* flags for readdir */ |
int dd_unused; /* was flags for readdir */ |
struct _telldir *dd_td; /* telldir position recording */ |
struct _telldir *dd_td; /* telldir position recording */ |
void *dd_lock; /* mutex to protect struct */ |
void *dd_lock; /* mutex to protect struct */ |
} DIR; |
} DIR; |
|
|
/* flags for opendir2 */ |
|
#define DTF_NODUP 0x0002 /* don't return duplicate names */ |
|
|
|
#ifndef NULL |
#ifndef NULL |
#ifdef __GNUG__ |
#ifdef __GNUG__ |
#define NULL __null |
#define NULL __null |
|
|
void rewinddir(DIR *); |
void rewinddir(DIR *); |
int closedir(DIR *); |
int closedir(DIR *); |
#if __BSD_VISIBLE |
#if __BSD_VISIBLE |
DIR *__opendir2(const char *, int); |
|
int getdirentries(int, char *, int, off_t *) |
int getdirentries(int, char *, int, off_t *) |
__attribute__ ((__bounded__(__string__,2,3))); |
__attribute__ ((__bounded__(__string__,2,3))); |
#endif /* __BSD_VISIBLE */ |
#endif /* __BSD_VISIBLE */ |