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

NAME

6       qb_ipcc_recv - Receive a response.
7

SYNOPSIS

9       #include <qb/qbipcc.h>
10
11       ssize_t qb_ipcc_recv(
12           qb_ipcc_connection_t   *c,
13           void                   *msg_ptr,
14           size_t                  msg_len,
15           int32_t                 ms_timeout
16       );
17

PARAMS

19       c          connection instance
20
21       msg_ptr    pointer to a message buffer to receive into
22
23       msg_len    the size of the buffer
24
25       ms_timeout max time to wait for a response
26

DESCRIPTION

RETURN VALUE

29       (size recv'ed, -errno == error)
30

NOTE

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

SEE ALSO

36       qb_ipcc_send(3), qb_ipcc_sendv_recv(3), qb_ipcc_event_recv(3),
37       qb_ipcc_fc_enable_max_set(3), qb_ipcc_is_connected(3),
38       qb_ipcc_sendv(3), qb_ipcc_context_set(3), qb_ipcc_context_get(3),
39       qb_ipcc_verify_dgram_max_msg_size(3), qb_ipcc_get_buffer_size(3),
40       qb_ipcc_connect(3), qb_ipcc_disconnect(3), qb_ipcc_fd_get(3)
41
43       Copyright (C) 2010-2020 Red Hat, Inc. All rights reserved.
44
45
46
47LIBQB                             2020-07-30                   QB_IPCC_RECV(3)
Impressum