NWCommitFile(3nw)


NWCommitFile -- flushes any data associated with the given file handle

Synopsis

   #include <nwfile.h> 
   or 
   #include <nwcalls.h> 
   

NWCCODE N_API NWCommitFile (NWFILE_HANDLE fileHandle);

Description

The parameters are as follows:

fileHandle
(IN) Specifies the name of the local file handle.

Return values

0x0000
SUCCESSFUL

0x8801
INVALID_CONNECTION

0x8988
INVALID_FILE_HANDLE

0x8998
VOLUME_DOES_NOT_EXIST

Notices

This function assures a client that all data written to a file located on a NetWare server has been written to the server's disk before the call completes. Note that this can be disabled at the server to increase server performance. Also note that this function affects both the client's and server's performance because the data written will not be checked and should only be used when necessary.

Services

File I/O

NCP calls

None


30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.