C-Library File IO Routines

PVK_getpos( )

Get Address/Position Within File

Format

long PVK_getpos(int fh);

Where:

fh          File handle returned from a prior call to PVK_OpenExt( )

Description

PVK_getpos ( ) returns the address of the record associated with the current key pointer for the specified file handle.

A return value of -1 is returned if the function is unsuccessful.