Changeset 260 for soft/giet_vm/giet_libs
- Timestamp:
- Dec 9, 2013, 5:26:37 PM (11 years ago)
- Location:
- soft/giet_vm/giet_libs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_libs/stdio.c
r258 r260 744 744 0 ); 745 745 } 746 747 /////////////////////////////////////////////////////////////////////////////////// 748 // giet_fat_fstat() 749 /////////////////////////////////////////////////////////////////////////////////// 750 // Return stats of a file identified by "fd". 751 // (Only the file_size in sectors for this moment) 752 /////////////////////////////////////////////////////////////////////////////////// 753 int giet_fat_fstat( unsigned int fd ) 754 { 755 return sys_call( SYSCALL_FAT_FSTAT, 756 fd, 757 0, 0, 0 ); 758 } 759 746 760 /////////////////////////////////////////////////////////////////////////////////// 747 761 // giet_fat_close() -
soft/giet_vm/giet_libs/stdio.h
r259 r260 50 50 #define SYSCALL_FAT_WRITE 0x22 51 51 #define SYSCALL_FAT_LSEEK 0x23 52 #define SYSCALL_FAT_CLOSE 0x24 52 #define SYSCALL_FAT_FSTAT 0x24 53 #define SYSCALL_FAT_CLOSE 0x25 53 54 54 55 ////////////////////////////////////////////////////////////////////////////////// … … 182 183 unsigned int whence ); 183 184 185 extern int giet_fat_fstat( unsigned int fd ); 186 184 187 extern int giet_fat_close( unsigned int fd ); 185 188
Note: See TracChangeset
for help on using the changeset viewer.