qb_ipcs_event_sendv(3)

qb_ipcs_event_sendv3

Send an asynchronous event message to the client.

Usage

#include <qb/qbipcs.h>

ssize_t qb_ipcs_event_sendv(
    qb_ipcs_connection_t   *c,        /* connection instance */
    /*
     * the iovec struct that points to the message to send
     */
    const struct iovec     *iov,
    size_t                  iov_len   /* the number of iovecs. */
);

Params

c connection instance

iov the iovec struct that points to the message to send

iov_len the number of iovecs.

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.