Changeset 1152 for trunk/include/stdlib.h
- Timestamp:
- 04/24/11 04:01:38 (2 years ago)
- File:
-
- 1 edited
-
trunk/include/stdlib.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/stdlib.h
r1151 r1152 203 203 }; 204 204 #else 205 // NOTE this is not complete and may not be accurate for all versions 205 206 struct dirent { 206 207 char d_name[13]; … … 214 215 #endif 215 216 216 // NOTE this is NOT the actual structure returned by dryos opendir! 217 #if !CAM_DRYOS 217 218 typedef struct { 218 unsigned int fd; // first member is an fd from Open in dryos219 unsigned int fd; 219 220 unsigned int loc; 220 221 struct dirent dir; 221 222 } DIR; 222 223 #else 224 // structure returned by dryos 225 // actual size may vary depending on version 226 typedef struct { 227 int fh; 228 int unk[4]; 229 } DIR_dryos; 230 231 // struct returned by our wrappers around opendir 232 typedef struct { 233 DIR_dryos *dh; 234 #ifdef CAM_DRYOS_2_3_R39 235 char de_buf[64]; 236 #else 237 char de_buf[40]; 238 #endif 239 } DIR; 240 #endif 223 241 224 242 extern DIR* opendir (const char* name);
Note: See TracChangeset
for help on using the changeset viewer.