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.