distortos  v0.7.0
object-oriented C++ RTOS for microcontrollers
dirent.h
Go to the documentation of this file.
1 
13 #ifndef INCLUDE_SYS_DIRENT_H_
14 #define INCLUDE_SYS_DIRENT_H_
15 
16 #include <sys/types.h>
17 
18 #ifdef __cplusplus
19 extern "C"
20 {
21 #endif /* def __cplusplus */
22 
24 #define NAME_MAX 255
25 
26 /*---------------------------------------------------------------------------------------------------------------------+
27 | global types
28 +---------------------------------------------------------------------------------------------------------------------*/
29 
31 struct DIR;
32 
34 struct dirent
35 {
37  ino_t d_ino;
38 
40  char d_name[NAME_MAX + 1];
41 };
42 
43 #ifdef __cplusplus
44 } /* extern "C" */
45 #endif /* def __cplusplus */
46 
47 #endif /* INCLUDE_SYS_DIRENT_H_ */
#define NAME_MAX
Definition: dirent.h:24
Definition: dirent.h:34
ino_t d_ino
Definition: dirent.h:37
char d_name[NAME_MAX+1]
Definition: dirent.h:40