cxWrite(3)

NAME
cxWrite - Writes data to a file pointer.

SYNOPSIS
#include <comprex.h> size_t cxWrite(const void *ptr, size_t size, size_t nmemb, CxFP *fp);

PARAMETERS

ptr The data to write.

size
    The size of an element of data.

nmemb
    The number of elements of size @size to receive.

fp  The file pointer to write to.

DESCRIPTION
Writes data to a file pointer.

RETURNS
The number of elements written, or 0 on error.

SEE ALSO
cxRead(3), cxSeek(3), cxTell(3), cxRewind(3)