/[make]/make/w32/include/dirent.h
ViewVC logotype

Contents of /make/w32/include/dirent.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Mon Apr 7 07:24:42 1997 UTC (27 years, 1 month ago) by psmith
Branch: MAIN
CVS Tags: filedef-cleanup-base, make-3-78-1, make-3-79-1, make-3-80, make-3-75-1, make-3-76-1, make-3-75-93, make-3-77-94, make-3-75-91, make-3-77-90, make-3-75-92, make-3-77-92, make-3-78-91, make-3-78-92, make-3-77, make-3-76, make-3-79, make-3-78
Branch point for: filedef-cleanup
Changes since 1.2: +1 -1 lines
File MIME type: text/plain
Changes for make 3.75.1

1 #ifndef _DIRENT_H
2 #define _DIRENT_H
3
4 #include <stdlib.h>
5 #include <windows.h>
6 #include <limits.h>
7 #include <sys/types.h>
8
9 #ifndef NAME_MAX
10 #define NAME_MAX 255
11 #endif
12
13 #define __DIRENT_COOKIE 0xfefeabab
14
15
16 struct dirent
17 {
18 ino_t d_ino; /* unused - no equivalent on WINDOWS32 */
19 char d_name[NAME_MAX+1];
20 };
21
22 typedef struct dir_struct {
23 ULONG dir_ulCookie;
24 HANDLE dir_hDirHandle;
25 DWORD dir_nNumFiles;
26 char dir_pDirectoryName[NAME_MAX+1];
27 struct dirent dir_sdReturn;
28 } DIR;
29
30 DIR *opendir(const char *);
31 struct dirent *readdir(DIR *);
32 void rewinddir(DIR *);
33 void closedir(DIR *);
34 int telldir(DIR *);
35 void seekdir(DIR *, long);
36
37 #endif

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26