Functions |
| FF_T_UINT8 | FF_GetModeBits (FF_T_INT8 *Mode) |
| | Converts STDIO mode strings into the equivalent FullFAT mode.
|
| FF_FILE * | FF_Open (FF_IOMAN *pIoman, const FF_T_INT8 *path, FF_T_UINT8 Mode, FF_ERROR *pError) |
| | Opens a File for Access.
|
| FF_T_BOOL | FF_isDirEmpty (FF_IOMAN *pIoman, const FF_T_INT8 *Path) |
| | Tests if a Directory contains any other files or folders.
|
| FF_ERROR | FF_RmDir (FF_IOMAN *pIoman, const FF_T_INT8 *path) |
| FF_ERROR | FF_RmFile (FF_IOMAN *pIoman, const FF_T_INT8 *path) |
| FF_ERROR | FF_Move (FF_IOMAN *pIoman, const FF_T_INT8 *szSourceFile, const FF_T_INT8 *szDestinationFile) |
| | Moves a file or directory from source to destination.
|
| FF_T_BOOL | FF_isEOF (FF_FILE *pFile) |
| | Get's the next Entry based on the data recorded in the FF_DIRENT object.
|
| static FF_T_UINT32 | FF_GetSequentialClusters (FF_IOMAN *pIoman, FF_T_UINT32 StartCluster, FF_T_UINT32 Limit, FF_ERROR *pError) |
| static FF_ERROR | FF_ReadClusters (FF_FILE *pFile, FF_T_UINT32 Count, FF_T_UINT8 *buffer) |
| static FF_ERROR | FF_ExtendFile (FF_FILE *pFile, FF_T_UINT32 Size) |
| static FF_ERROR | FF_WriteClusters (FF_FILE *pFile, FF_T_UINT32 Count, FF_T_UINT8 *buffer) |
| FF_T_SINT32 | FF_Read (FF_FILE *pFile, FF_T_UINT32 ElementSize, FF_T_UINT32 Count, FF_T_UINT8 *buffer) |
| | Equivalent to fread()
|
| FF_T_SINT32 | FF_GetC (FF_FILE *pFile) |
| | Equivalent to fgetc()
|
| FF_T_SINT32 | FF_GetLine (FF_FILE *pFile, FF_T_INT8 *szLine, FF_T_UINT32 ulLimit) |
| | Gets a Line from a Text File, but no more than ulLimit charachters. The line will be NULL terminated.
|
| FF_T_UINT32 | FF_Tell (FF_FILE *pFile) |
| FF_T_SINT32 | FF_Write (FF_FILE *pFile, FF_T_UINT32 ElementSize, FF_T_UINT32 Count, FF_T_UINT8 *buffer) |
| | Writes data to a File.
|
| FF_T_SINT32 | FF_PutC (FF_FILE *pFile, FF_T_UINT8 pa_cValue) |
| | Writes a char to a FILE.
|
| FF_ERROR | FF_Seek (FF_FILE *pFile, FF_T_SINT32 Offset, FF_T_INT8 Origin) |
| | Equivalent to fseek()
|
| FF_ERROR | FF_Close (FF_FILE *pFile) |
| | Equivalent to fclose()
|
- Author:
- James Walmsley
Definition in file ff_file.c.