qb_ipcc_event_recv3
Receive an event.
Usage
#include <qb/qbipcc.h>
ssize_t qb_ipcc_event_recv(
qb_ipcc_connection_t *c, /* connection instance */
void *msg_ptr, /* pointer to a message buffer to receive into */
size_t msg_len, /* the size of the buffer */
/*
* time in milliseconds to wait for a message 0 == no wait, negative ==
* block, positive == wait X ms.
*/
int32_t ms_timeout
);
Params
c connection instance
msg_ptr pointer to a message buffer to receive into
msg_len the size of the buffer
ms_timeout time in milliseconds to wait for a message 0 == no wait, negative == block, positive == wait X ms.
Overview
Return value
size of the message or error (-errno)
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.