iob_reset(3)
π iob_reset(3) β bestie edition
okay so real talk, this one lives in the Library Functions Manual, it's called iob_reset, and it's genuinely one of the most "just tidy up and move on" functions in all of libowfat. no drama, no leaks, just vibes. π§Ήβ¨
πΈ NAME πΈ
iob_reset β reset an I/O batch
β¨ SYNTAX β¨
#include <libowfat/iob.h>
void iob_reset(io_batch* b);
π DESCRIPTION π
okay so here's the tea. iob_free empties the list of transactions in an I/O batch. like, the whole roster? gone. π
and it doesn't just ghost the list β it actually cleans up after itself, which is the respectful thing to do:
- files that were added with
iob_addfile_closeget closed πͺ - buffers that were added with
iob_addbuf_freeoriob_adds_freeget freed π«Ά
the important part though, bestie, listen: the I/O batch itself is not freed. nope. she survives. she's still here, still iconic, and you can just start adding transactions to it again like nothing ever happened. main character energy fr fr. π
π SEE ALSO π
no cap: if you were worried this nukes the batch itself, it does not. batch stays, transactions go. iykyk. π
mwah π that's the whole page β straight outta the Library Functions Manual, iob_reset(3), same as it ever was. go forth and reset, you gorgeous little syscaller. ππ¦
π¦ where this page comes from
- alpine 3.24: libowfat-doc 0.34-r0 Β· GPL-2.0-only
- debian bookworm: libowfat-dev 0.32-4 Β· GPL-2.0-only
- debian trixie: libowfat-dev 0.32-5 Β· GPL-2.0-only
- nixos 26.05: libowfat 0.34
- nixpkgs unstable: libowfat 0.34
- opensuse-leap 16.0: libowfat-devel 0.33-bp160.1.11 Β· GPL-2.0-only
- opensuse-leap 16.0: libowfat-devel 0.33-bp160.1.11 Β· GPL-2.0-only
- opensuse-leap 16.0: libowfat-devel 0.33-bp160.1.11 Β· GPL-2.0-only
- opensuse-leap 16.0: libowfat-devel 0.33-bp160.1.11 Β· GPL-2.0-only
- ubuntu noble: libowfat-dev 0.32-4.1build1 Β· GPL-2.0-only
- ubuntu questing: libowfat-dev 0.32-5
- ubuntu resolute: libowfat-dev 0.34-2 Β· GPL-2.0-only
- ubuntu stonking: libowfat-dev 0.34-2 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms