iob_reset
reset an I/O batch
- Provided by: libowfat-dev (Version: 0.30-3ubuntu1)
- Source: libowfat
- Report a bug
reset an I/O batch
#include <iob.h>
void iob_reset(io_batch* b);
iob_free empties the list of transactions in an I/O batch. Files added with iob_addfile_close are closed, and buffer added with iob_addbuf_free of iob_adds_free are freed.
The I/O batch itself is not freed. You can start adding transactions to it again.