Scroll to navigation

QB_IPCC_SENDV(3) libqb Programmer's Manual QB_IPCC_SENDV(3)

NAME

qb_ipcc_sendv - Send a message (iovec).

SYNOPSIS

#include <qb/qbipcc.h>

ssize_t qb_ipcc_sendv(
    qb_ipcc_connection_t   *c,
    const struct iovec     *iov,
    size_t                  iov_len
);

PARAMS

c connection instance

iov pointer to an iovec struct to send

iov_len the number of iovecs used

DESCRIPTION

RETURN VALUE

(size sent, -errno == error)

NOTE

the iov[0] must be a qb_ipc_request_header. The server will read the size field to determine how much to recv.

SEE ALSO

qb_ipcc_send(3), qb_ipcc_sendv_recv(3), qb_ipcc_recv(3), qb_ipcc_event_recv(3), qb_ipcc_fc_enable_max_set(3), qb_ipcc_is_connected(3), qb_ipcc_context_set(3), qb_ipcc_context_get(3), qb_ipcc_verify_dgram_max_msg_size(3), qb_ipcc_get_buffer_size(3), qb_ipcc_connect(3), qb_ipcc_disconnect(3), qb_ipcc_fd_get(3)

COPYRIGHT

Copyright (C) 2010-2020 Red Hat, Inc. All rights reserved.
2020-10-31 LIBQB