Changeset bc73be3 in mainline for uspace/lib/c/include/dirent.h
- Timestamp:
- 2019-06-27T08:51:20Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8add15e0
- Parents:
- ad40b74b (diff), aeba767 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
uspace/lib/c/include/dirent.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/dirent.h
rad40b74b rbc73be3 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 # define NAME_MAX 25638 #include <_bits/decls.h> 39 39 40 #include <offset.h> 40 __C_DECLS_BEGIN; 41 41 42 42 struct dirent { 43 char d_name[ NAME_MAX + 1];43 char d_name[256]; 44 44 }; 45 45 46 typedef struct { 47 int fd; 48 struct dirent res; 49 aoff64_t pos; 50 } DIR; 46 typedef struct __dirstream DIR; 51 47 52 48 extern DIR *opendir(const char *); … … 55 51 extern int closedir(DIR *); 56 52 53 __C_DECLS_END; 54 57 55 #endif 58 56
Note:
See TracChangeset
for help on using the changeset viewer.
