---
name: "iob_reset"
section: "3"
platform: "linux"
package: "libowfat-dev"
version: "0.32-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/iob_reset"
---

# iob\_reset(3)

reset an I/O batch

## NAME

iob\_reset - reset an I/O batch

## SYNTAX

**#include \<libowfat/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_new/3.md), [iob\_reset(3)](/iob_reset/3.md)
