# PVK_getpos( ): Get Address/Position Within File

> Source: https://manual.pvxplus.com/c-library-file-io-routines/file-io-routines/getpos

## Format

long **PVK_getpos**(int *fh*);

***Where:***

*fh* File handle returned from a prior call to **[PVK_OpenExt( )](https://manual.pvxplus.com/c-library-file-io-routines/file-io-routines/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.
