* libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
field. (__DIRENT_VERSION): New define.
This commit is contained in:
parent
4f79e37e4d
commit
a3e67ddfe6
@ -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.
|
||||
|
@ -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? */
|
||||
|
Loading…
Reference in New Issue
Block a user