1QB_IPCC_SEND(3)            libqb Programmer's Manual           QB_IPCC_SEND(3)
2
3
4

NAME

6       qb_ipcc_send - Send a message.
7
8

SYNOPSIS

10       #include <qb/qbipcc.h>
11
12       ssize_t qb_ipcc_send(
13           qb_ipcc_connection_t   *c, /* connection instance */
14           const void             *msg_ptr,      /* pointer to a message to send */
15           size_t                  msg_len      /* the size of the message */
16       );
17

PARAMS

19       c       connection instance
20
21       msg_ptr pointer to a message to send
22
23       msg_len the size of the message
24

DESCRIPTION

RETURN VALUE

27       (size sent, -errno == error)
28

NOTE

30       the msg_ptr must include a qb_ipc_request_header at the top of the mes‐
31       sage. The server will read the size field  to  determine  how  much  to
32       recv.
33

SEE ALSO

35       qb_ipcc_sendv_recv(3), qb_ipcc_recv(3), qb_ipcc_event_recv(3),
36       qb_ipcc_fc_enable_max_set(3), qb_ipcc_is_connected(3),
37       qb_ipcc_auth_get(3), qb_ipcc_sendv(3), qb_ipcc_context_set(3),
38       qb_ipcc_context_get(3), qb_ipcc_verify_dgram_max_msg_size(3),
39       qb_ipcc_get_buffer_size(3), qb_ipcc_connect(3), qb_ipcc_disconnect(3),
40       qb_ipcc_fd_get(3)
41
43       Copyright (C) 2010-2020 Red Hat, Inc.
44
45
46
47LIBQB                             2021-11-12                   QB_IPCC_SEND(3)
Impressum