Flushes the buffers of a file.
#include <nks/fsio.h> int NXFileFlushBuffers ( NXHandle_t fileHandle, unsigned long flags, NXOffset_t offset, NXOffset_t length);
(IN) Specifies a file handle (or descriptor), which refers to a system-maintained state description for a file.
(IN) Specifies how the flush is handled. Currently not supported. Set to 0.
(IN) Specifies the starting offset from which to start flushing. Currently not supported. Set to 0
(IN) Specifies the number of bytes in the file to flush. Currently not supported. Set to 0.
If successful, returns 0. Otherwise, returns one of the following error codes:
NXFileFlushBuffers flushes buffers that have been modified in some way to the disk.
Currently, NetWare does not support range flushing and the whole file is flushed.