Changeset 658 for soft/giet_vm/giet_fat32/fat32.h
- Timestamp:
- Jul 24, 2015, 3:10:48 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_fat32/fat32.h
r654 r658 134 134 unsigned int is_dir; 135 135 } fat_file_info_t; 136 137 typedef struct fat_dirent_s 138 { 139 unsigned int cluster; 140 unsigned int size; 141 unsigned int is_dir; 142 char name[36]; 143 } fat_dirent_t; 136 144 137 145 #define SEEK_SET 0 … … 237 245 extern int _fat_close( unsigned int fd_id ); // file descriptor 238 246 239 extern int _fat_file_info( unsigned int fd_id,// file descriptor240 struct fat_file_info_s* info );// file info struct247 extern int _fat_file_info( unsigned int fd_id, // file descriptor 248 fat_file_info_t* info ); // file info struct 241 249 242 250 extern int _fat_read( unsigned int fd_id, // file descriptor … … 259 267 260 268 extern int _fat_mkdir( char* pathname ); // path from root 269 270 extern int _fat_opendir( char* pathname ); // path from root 271 272 extern int _fat_closedir( unsigned int fd_id ); // file descriptor 273 274 extern int _fat_readdir( unsigned int fd_id, // file descriptor 275 fat_dirent_t* entry ); // directory entry 261 276 262 277 extern int _fat_list( char* pathname ); // path from root
Note: See TracChangeset
for help on using the changeset viewer.