Changes in uspace/lib/c/include/dirent.h [bebd154:23c8acd9] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/dirent.h
rbebd154 r23c8acd9 33 33 */ 34 34 35 #ifndef _LIBC_DIRENT_H_36 #define _LIBC_DIRENT_H_35 #ifndef LIBC_DIRENT_H_ 36 #define LIBC_DIRENT_H_ 37 37 38 # include <_bits/decls.h>38 #define NAME_MAX 256 39 39 40 __C_DECLS_BEGIN; 40 #include <offset.h> 41 41 42 42 struct dirent { 43 char d_name[ 256];43 char d_name[NAME_MAX + 1]; 44 44 }; 45 45 46 typedef struct __dirstream DIR; 46 typedef struct { 47 int fd; 48 struct dirent res; 49 aoff64_t pos; 50 } DIR; 47 51 48 52 extern DIR *opendir(const char *); … … 51 55 extern int closedir(DIR *); 52 56 53 __C_DECLS_END;54 55 57 #endif 56 58
Note:
See TracChangeset
for help on using the changeset viewer.