iob_addbuf(3)

iob_addbuf3

Add buffer to i/o batch

Usage

#include <libowfat/iob.h>

int iob_addbuf(io_batch* b,const void* buf,uint64 n);

Overview

iob_addbuf schedules n bytes starting at buf to be written with the I/O batch b.

Use iob_addbuf_free if you want the buffer to be deallocated automatically by iob_reset.

Return value

Returns 1 on success, 0 on failure.

Releases

7 releases since Debian 7 (Wheezy); the text changed 2 times.

  1. 7
  2. 8–11
  3. 12–13

From libowfat-dev 0.32-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.