iob_addbuf_free3
Add buffer to i/o batch, with deallocation
Usage
#include <libowfat/iob.h>
int iob_addbuf_free(io_batch* b,const void* buf,uint64 n);
Overview
iob_addbuf_free schedules n bytes starting at buf to be written with the I/O batch b.
The buffer will automatically be deallocated by iob_reset.
Return value
Returns 1 if successful, 0 if not. In the failure case, the buffer was deallocated.
Releases
7 releases since Debian 7 (Wheezy); the text changed 2 times.