Ignore:
Timestamp:
Dec 9, 2013, 5:26:37 PM (11 years ago)
Author:
devigne
Message:

Add a new syscall : giet_fat_fstat, allowing to a user application to know the
size (in sectors) of an open file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_libs/stdio.h

    r259 r260  
    5050#define SYSCALL_FAT_WRITE         0x22
    5151#define SYSCALL_FAT_LSEEK         0x23
    52 #define SYSCALL_FAT_CLOSE         0x24
     52#define SYSCALL_FAT_FSTAT         0x24
     53#define SYSCALL_FAT_CLOSE         0x25
    5354
    5455//////////////////////////////////////////////////////////////////////////////////
     
    182183                           unsigned int whence );
    183184
     185extern int giet_fat_fstat( unsigned int fd );
     186
    184187extern int giet_fat_close( unsigned int fd );
    185188
Note: See TracChangeset for help on using the changeset viewer.