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