blob: 396dc39d6dd54c2eb426991e98a4d0d96d411cc7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
/* dirent.h: define struct __DIR
This file is part of Cygwin.
This software is a copyrighted work licensed under the terms of the
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */
#ifndef _CYGWIN_DIRENT_H
#define _CYGWIN_DIRENT_H
#include_next <dirent.h>
#define __DIRENT_COOKIE 0xcdcd8484
struct __DIR
{
/* This is first to set alignment in non _LIBC case. */
unsigned long __d_cookie;
struct dirent *__d_dirent;
char *__d_dirname; /* use for internal caching */
__int32_t __d_position; /* used by telldir/seekdir */
int __d_fd;
uintptr_t __d_internal;
void *__handle;
void *__fh;
unsigned __flags;
};
#endif /* _CYGWIN_DIRENT_H */
|