Changeset 391996b in mainline
- Timestamp:
- 2019-02-10T13:27:33Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8df5f20
- Parents:
- b583311
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-10 13:26:11)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-10 13:27:33)
- Location:
- uspace/lib/c
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/dirent.c
rb583311 r391996b 39 39 #include <errno.h> 40 40 #include <assert.h> 41 42 struct __dirstream { 43 int fd; 44 struct dirent res; 45 aoff64_t pos; 46 }; 41 47 42 48 /** Open directory. -
uspace/lib/c/include/dirent.h
rb583311 r391996b 38 38 #define NAME_MAX 256 39 39 40 #include <offset.h>41 42 40 struct dirent { 43 41 char d_name[NAME_MAX + 1]; 44 42 }; 45 43 46 typedef struct { 47 int fd; 48 struct dirent res; 49 aoff64_t pos; 50 } DIR; 44 typedef struct __dirstream DIR; 51 45 52 46 extern DIR *opendir(const char *);
Note:
See TracChangeset
for help on using the changeset viewer.