man iob_addbuf_free () - add buffer to I/O batch, with deallocation

NAME

iob_addbuf_free - add buffer to I/O batch, with deallocation

SYNTAX

#include <iob.h>

void iob_addbuf_free(io_batch* b,const void* buf,uint64 n);

DESCRIPTION

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.

SEE ALSO