Next: hdrf_delete, Previous: hdrf_channel_read, Up: Internal Functions
Write data from memory to an output channel.
#include <bpipe/bpipe.h>static int hdrf_channel_write( void *udata, size_t src, size_t dst, size_t nbytes );
void *udata
- Not Documented.
size_t src
- Not Documented.
size_t dst
- Not Documented.
size_t nbytes
- Not Documented.
This is a callback routine for bpipe_datatype_copy
which
writes the requested number of bytes from the memory pointed to by
the passed udata
parameter (with the appropriate offset as
given by bpipe_datatype_copy
to the output channel in the
file global variable hdrf_channel_output_ioc
. It ignores the
dst
argument.
It returns zero upon success, non-zero upon failure