qb_ipcs_response_send(3)

qb_ipcs_response_send3

Send a response to a incoming request.

Usage

#include <qb/qbipcs.h>

ssize_t qb_ipcs_response_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

the data must include a qb_ipc_response_header at the top of the message. The client will read the size field to determine how much to recv.

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.