Make the zlib compile against the tinycrt library.
[git-build-vc9.git] / tcrt / inc / dirent.h
blobb5cce9773d7a64f506a984449ace296ce957b571
1 /*=============================================================================
2 dirent.h :
4 Copyright © 2008 Bruno Santos <nayart3@gmail.com>
5 =============================================================================*/
7 #ifndef TCRT_DIRENT__H_
8 #define TCRT_DIRENT__H_
10 ///////////////////////////////////////////////////////////////////////////////
11 #include "sys/types.h"
13 ///////////////////////////////////////////////////////////////////////////////
14 TCRT_BEGIN_EXTERN_C
16 ///////////////////////////////////////////////////////////////////////////////
17 typedef struct dirent {
18 ino_t d_ino;
19 char* d_name;
22 typedef struct _DIR DIR;
24 ///////////////////////////////////////////////////////////////////////////////
25 DIR* opendir(const char* dirname);
26 int closedir(DIR* dirp);
27 struct dirent* readdir(DIR* dirp);
29 ///////////////////////////////////////////////////////////////////////////////
30 TCRT_END_EXTERN_C
32 // EOF ////////////////////////////////////////////////////////////////////////
33 #endif /* TCRT_DIRENT__H_ */