qb_ipcc_sendv_recv(3)

qb_ipcc_sendv_recv3

This is a convenience function that simply sends and then recvs.

Usage

#include <qb/qbipcc.h>

ssize_t qb_ipcc_sendv_recv(
    qb_ipcc_connection_t   *c,           /* connection instance */
    const struct iovec     *iov,         /* pointer to an iovec struct to send */
    uint32_t                iov_len,     /* the number of iovecs used */
    void                   *msg_ptr,     /* pointer to a message buffer to receive into */
    size_t                  msg_len,     /* the size of the buffer */
    int32_t                 ms_timeout   /* max time to wait for a response*/
);

Params

c connection instance

iov pointer to an iovec struct to send

iov_len the number of iovecs used

msg_ptr pointer to a message buffer to receive into

msg_len the size of the buffer

ms_timeout max time to wait for a response

Overview

Note

that msg_ptr will include a qb_ipc_response_header at the top of the message.

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.