qb_ipcs_event_send(3)

qb_ipcs_event_send3

Send an asynchronous event message to the client.

Usage

#include <qb/qbipcs.h>

ssize_t qb_ipcs_event_send(
    qb_ipcs_connection_t   *c,     /* connection instance */
    const void             *data,  /* the message to send */
    size_t                  size   /* the size of the message */
);

Params

c connection instance

data the message to send

size the size of the message

Overview

Return value

size sent or -errno for errors

Note

When send returns -EMSGSIZE, this means the msg is too large and will never succeed. To determine the max msg size a client can be sent, use qb_ipcs_connection_get_buffer_size()

Releases

4 releases since Debian 11 (Bullseye); the text changed 3 times.

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

From libqb 2.0.10-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.