* libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number

field.
        (__DIRENT_VERSION): New define.
This commit is contained in:
Corinna Vinschen 2001-09-03 19:04:05 +00:00
parent 4f79e37e4d
commit a3e67ddfe6
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2001-09-03 Corinna Vinschen <corinna@vinschen.de>
* libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
field.
(__DIRENT_VERSION): New define.
2001-09-03 Corinna Vinschen <corinna@vinschen.de>
* libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.

View File

@ -13,9 +13,12 @@
#include <sys/types.h>
#define __DIRENT_VERSION 1
struct dirent
{
long __d_reserved[3];
long d_version; /* Used since Cygwin 1.3.3. */
long __d_reserved[2];
long d_fd; /* File descriptor of open directory. Used since Cygwin 1.3.3. */
ino_t d_ino; /* Just for compatibility, it's junk */
char d_name[256]; /* FIXME: use NAME_MAX? */