wslay_event_want_write(3)

wslay_event_want_write3

Tell whether the library wants to send more data

Usage

#include <wslay/wslay.h>

int wslay_event_want_write(wslay_event_context_ptr ctx)

Overview

wslay_event_want_write() is used to know whether the library want to send more data to peer.

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

Return value

wslay_event_want_write() returns 1 if the library want to send more data to peer, or returns 0.

Releases

5 releases since Debian 10 (Buster); the text changed 4 times.

  1. 10
  2. 11
  3. 12
  4. 13
  5. Arch

Author

Tatsuhiro Tsujikawa

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