_FFlush( ) API Library Routine

See Also   Example

Flushes to disk all modified buffers in memory for the specified file.

Syntax

int _FFlush(FCHAN chan)
FCHAN chan;               /* File channel of file to flush. */

Remarks

_FFlush( ) returns 0 if it is successful in flushing the buffers, or  – 1 if it fails.

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.