DragonFly On-Line Manual Pages

Search: Section:  


cxSetSeekFunc(3)             The GNUpdate Project             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. libcomprex 05 Mar 2003 cxSetSeekFunc(3)

Search: Section: