Last change
on this file since 364 was
348,
checked in by neteler, 13 years ago
|
set correctly svn propset
|
-
Property svn:eol-style set to
native
-
Property svn:mime-type set to
text/x-chdr
|
File size:
1014 bytes
|
Rev | Line | |
---|
[348] | 1 | #ifndef DIRENT_INCLUDED |
---|
| 2 | #define DIRENT_INCLUDED |
---|
| 3 | |
---|
| 4 | /* |
---|
| 5 | |
---|
| 6 | Declaration of POSIX directory browsing functions and types for Win32. |
---|
| 7 | |
---|
| 8 | Author: Kevlin Henney (kevlin@acm.org, kevlin@curbralan.com) |
---|
| 9 | History: Created March 1997. Updated June 2003. |
---|
| 10 | Rights: See end of file. |
---|
| 11 | |
---|
| 12 | */ |
---|
| 13 | |
---|
| 14 | #ifdef __cplusplus |
---|
| 15 | extern "C" |
---|
| 16 | { |
---|
| 17 | #endif |
---|
| 18 | |
---|
| 19 | typedef struct DIR DIR; |
---|
| 20 | |
---|
| 21 | struct dirent |
---|
| 22 | { |
---|
| 23 | char *d_name; |
---|
| 24 | }; |
---|
| 25 | |
---|
| 26 | DIR *opendir(const char *); |
---|
| 27 | int closedir(DIR *); |
---|
| 28 | struct dirent *readdir(DIR *); |
---|
| 29 | void rewinddir(DIR *); |
---|
| 30 | |
---|
| 31 | /* |
---|
| 32 | |
---|
| 33 | Copyright Kevlin Henney, 1997, 2003. All rights reserved. |
---|
| 34 | |
---|
| 35 | Permission to use, copy, modify, and distribute this software and its |
---|
| 36 | documentation for any purpose is hereby granted without fee, provided |
---|
| 37 | that this copyright and permissions notice appear in all copies and |
---|
| 38 | derivatives. |
---|
| 39 | |
---|
| 40 | This software is supplied "as is" without express or implied warranty. |
---|
| 41 | |
---|
| 42 | But that said, if there are any problems please get in touch. |
---|
| 43 | |
---|
| 44 | */ |
---|
| 45 | |
---|
| 46 | #ifdef __cplusplus |
---|
| 47 | } |
---|
| 48 | #endif |
---|
| 49 | |
---|
| 50 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.