File Input and Output Routines
These API routines allow you to directly create and manipulate files.
_FCHSize( ) API Library Routine
Sets the file size on disk to the specified length. The specified length may extend or truncate the file._FClose( ) API Library Routine
Terminates access to a file. Any buffers that have been modified while the buffer is open are automatically flushed to disk._FCopy( ) API Library Routine
Attempts to copy len bytes from position spos in file sc to position dpos in file dc._FCreate( ) API Library Routine
Assigns a Visual FoxPro channel to a new file._FEOF( ) API Library Routine
Returns True if the file is currently at the end of file; otherwise, returns False._FError( ) API Library Routine
Returns the last file operation error recorded for any channel._FFlush( ) API Library Routine
Ensures that all modified buffers in memory have been flushed out to disk._FGets( ) API Library Routine
Reads a single line of maxlen length, delimited with a carriage return, from a file._FOpen( ) API Library Routine
Assigns a Visual FoxPro channel to an existing file._FPuts( ) API Library Routine
Writes a null-terminated string to a file, followed by a carriage return/line feed pair._FRead( ) API Library Routine
Reads exactly length bytes from a file into buffer._FSeek( ) API Library Routine
Moves the file pointer to a new location as specified by position and mode._FWrite( ) API Library Routine
Writes exactly length bytes from your buffer to a file. No terminator is added to the file.