io_eagain(3)

io_eagain3

Tell io_wait that you got an eagain

Usage

#include <libowfat/io.h>

void io_eagain(int64 fd);

Overview

If io_wait() said that you can read from a descriptor, you try to read from it, and you get EAGAIN, you need to tell io_wait(). This is important for edge triggered event notification schemes like Linux 2.4's SIGIO, or you will lose events.

io_tryread(), io_trywrite() and io_sendfile() and iob_send() already take care of this for you.

This function is only of interest if you integrate io_wait() with legacy code that uses read/write directly.

Releases

7 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7–11
  2. 12–13

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