iob_addfile_close(3)

iob_addfile_close3

Add file region to i/o batch

Usage

#include <libowfat/iob.h>

int iob_addfile_close(io_batch* b,int64 fd,uint64 off,uint64 n);

Overview

iob_addfile_close schedules n bytes from the file descriptor fd starting at offset off to be written with the I/O batch b.

You may not close fd before iob_send indicates it is done.

iob_reset will call io_close(fd).

Return value

Returns 1 on success, 0 on failure. In the failure case, the file descriptor has been closed.

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.