iob_reset(3diet)

iob_reset3diet

Reset an i/o batch

Usage

#include <iob.h>

void iob_reset(io_batch* b);

Overview

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.

Releases

Unchanged in 4 releases since Debian 3.1 (Sarge).

  1. 3.1–6.0

From libowfat-dev 0.28-2 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.