1 /*=============================================================================
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 ///////////////////////////////////////////////////////////////////////////////
16 ///////////////////////////////////////////////////////////////////////////////
17 typedef struct dirent
{
22 typedef struct _DIR
DIR;
24 ///////////////////////////////////////////////////////////////////////////////
25 DIR* opendir(const char* dirname
);
26 int closedir(DIR* dirp
);
27 struct dirent
* readdir(DIR* dirp
);
29 ///////////////////////////////////////////////////////////////////////////////
32 // EOF ////////////////////////////////////////////////////////////////////////
33 #endif /* TCRT_DIRENT__H_ */