DragonFly On-Line Manual Pages

Search: Section:  


cxSetWriteFunc(3)            The GNUpdate Project            cxSetWriteFunc(3)

NAME

cxSetWriteFunc - Sets the write function for this file pointer.

SYNOPSIS

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

PARAMETERS

fp The file pointer. fnc The write function.

DESCRIPTION

Sets the write function for this file pointer. This should work just like libc's fwrite() function, but with a CxFP instead of a FILE. It must write to 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 cxSetWriteFunc(3)

Search: Section: