Skip to main content

PxIOPositionSeek

Description

Sets a file's index pointer to the specified index position

Format

int PxIOPositionSeek(PxIOFileHandle handle, uint64_t position);

Where:

handle

The handle of an open file

position

The requested index position

Return Value

If the function succeeds, a value of PXIO_SUCCESS_STATUS is returned; otherwise, an error value is returned. More information on the nature of the error can be found by calling PxIOGetError.