carta
wslay_event_want_read(3)

wslay_event_want_read3

Tell whether the library wants to read more data

Overview

wslay_event_want_read() is used to know whether the library want to read more data from peer.

This is useful to decide whether to wait for read event in I/O event notification functions such as select(2) and poll(2).

Return value

wslay_event_want_read() returns 1 if the library want to read more data from peer, or returns 0.

History

  • Arch Linux 2026-11-01: the text shown here
  • Debian 13 (Trixie)
  • Debian 12 (Bookworm)
  • Debian 11 (Bullseye)
  • Debian 10 (Buster)

Author

Tatsuhiro Tsujikawa

From libwslay 1.1.1-7 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.