cxSetCloseFunc(3)

NAME
cxSetCloseFunc - Sets the close function for this file pointer.

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

PARAMETERS

fp  The file pointer.

fnc The close function.

DESCRIPTION
Sets the close function for this file pointer. This should destroy the module-specific content associated with this file pointer in the moduleData variable. This function must be in the following format: The name of the function can be changed, of course.

RETURNS
Nothing.

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