Writes exactly length bytes from your buffer to a file specified by chan.
Syntax
unsigned int _FWrite(FCHAN chan, char FAR *buffer, int length)
FCHAN chan; /* File channel of file to write to. */
char FAR *buffer; /* Buffer address. */
int length; /* Number of bytes to write. */
Remarks
_FWrite( ) doesn't add a terminator to the file. No translation is performed on the bytes before they are written. _FWrite( ) returns the number of bytes written.
For more information on how to create an API library and integrate it with Visual FoxPro, see Chapter 28, Accessing the Visual FoxPro API, in the Programmer's Guide.