cxSetSeekFunc(3)

NAME
cxSetSeekFunc - Sets the seek function for this file pointer.

SYNOPSIS
#include <comprex.h> void cxSetSeekFunc(CxFP *fp, void(*)( CxFP *, long, int) fnc);

PARAMETERS

fp  The file pointer.

fnc The seek function.

DESCRIPTION
Sets the seek function for this file pointer. This should work just like libc's fseek() function, but with a CxFP instead of a FILE. It must seek to the specified location in the file. This function must be in the following format: The name of the function can be changed, of course.

RETURNS
Nothing.

SEE ALSO
cxSetCloseFunc(3), cxSetReadFunc(3), cxSetWriteFunc(3)