NWGetFilePos(3nw)


NWGetFilePos -- finds the current pointer in the specified file for reading and writing to the file

Synopsis

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

NWCCODE N_API NWGetFilePos (NWFILE_HANDLE fileHandle, pnuint32 filePos);

Description

The parameters are as follows:

fileHandle
(IN) Specifies the file handle to find the current file position for.

filePos
(OUT) Points to the current file position offset of the given file.

Return values

0x0000
SUCCESSFUL

0x8988
INVALID_FILE_HANDLE

Notices

The current file position is a notion local to the client and is used by NWReadFile, NWWriteFile, and NWSetFilePos.

Services

File I/O

NCP calls

None

References

NWSetFilePos(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.