iob_reset - Man Page

reset an I/O batch

Syntax

#include <iob.h>

void iob_reset(io_batch* b);

Description

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.

See Also

iob_new(3), iob_reset(3)

Referenced By

iob_addbuf(3), iob_addbuf_free(3), iob_addfile(3), iob_addfile_close(3), iob_adds(3), iob_adds_free(3), iob_free(3), iob_new(3), iob_prefetch(3), iob_send(3).