ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

ff_file.c File Reference
#include "ff_file.h"
#include "ff_string.h"
#include "ff_config.h"

Go to the source code of this file.

Functions

FF_T_UINT8 FF_GetModeBits (FF_T_INT8 *Mode)
 Converts STDIO mode strings into the equivalent FullFAT mode.
FF_FILEFF_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()

Detailed Description

Author:
James Walmsley

Definition in file ff_file.c.


Generated on Sat May 26 2012 06:00:03 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.