DragonFly On-Line Manual Pages

Search: Section:  


cxSetReadFunc(3)             The GNUpdate Project             cxSetReadFunc(3)

NAME

cxSetReadFunc - Sets the read function for this file pointer.

SYNOPSIS

#include <comprex.h> void cxSetReadFunc(CxFP *fp, size_t(*)(void *, size_t, size_t, CxFP *) fnc);

PARAMETERS

fp The file pointer. fnc The read function.

DESCRIPTION

Sets the read function for this file pointer. This should work just like libc's fread() function, but with a CxFP instead of a FILE. It must read from the file stored in the archive. This function must be in the following format: The name of the function can be changed, of course.

RETURNS

Nothing. libcomprex 05 Mar 2003 cxSetReadFunc(3)

Search: Section: