![]() |
|
| << Previous | Next >> | |
| | |
int fat_Truncate( FATfile *file, long where );
Description
- Truncates the file at
whereand frees any left over allocated clusters. The file must be aFAT_FILEtype.Parameters
Return Value
0: success.
-EIO: device I/O error.
-EINVAL:fileis invalid.
-EPERM:fileis in use, write-protected, hidden, or system.
-ENOENT: the file does not exist.
-ETYPE:fileis not a FAT file type.
-EBUSY: the device is busy (Only if non-blocking).
-EFSTATE: if file in inappropriate state (Only if non-blocking)Library
- FAT.LIB
See Also
- fat_Open, fat_OpenDir, fat_Delete, fat_Split
| Dynamic C Functions | << Previous | Next >> | rabbit.com |