Rev 5141 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
4349 | Serge | 1 | /* |
2 | system which supports |
||
3 | dirent.h in the libc/sys/.../sys directory. On a system which does |
||
4 | not support |
||
5 | an error. */ |
||
6 | |||
7 | #ifdef __cplusplus |
||
8 | extern "C" { |
||
9 | #endif |
||
5602 | serge | 10 | |
11 | struct dirent { |
||
12 | char d_namlen; |
||
13 | char d_name[256]; |
||
14 | }; |
||
15 | |||
16 | typedef struct |
||
17 | { |
||
18 | // struct systree_info2 fileinfo; |
||
19 | struct dirent entry; |
||
20 | // __u8 bdfeheader[0x20]; |
||
21 | // struct bdfe_item bdfebase; |
||
22 | // __u8 bdfename[264]; |
||
23 | } DIR; |
||
24 | |||
25 | int closedir(DIR *dirp); |
||
26 | DIR * opendir(const char *_dirname); |
||
27 | struct dirent * readdir(DIR *_dirp); |
||
28 | void rewinddir(DIR *_dirp); |
||
29 | |||
4349 | Serge | 30 | #ifdef __cplusplus |
31 | } |
||
32 | #endif |