Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
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)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=cxSetWriteFunc&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>

home | help