.\" Automatically generated man page, do not edit .TH QB_IPCC_EVENT_RECV 3 2020-10-31 "LIBQB" "libqb Programmer's Manual" .SH NAME qb_ipcc_event_recv \- Receive an event. .SH SYNOPSIS .nf .B #include .sp \fBssize_t qb_ipcc_event_recv\fP( \fBqb_ipcc_connection_t *\fP\fIc\fP, \fBvoid *\fP\fImsg_ptr\fP, \fBsize_t \fP\fImsg_len\fP, \fBint32_t \fP\fIms_timeout\fP ); .fi .SH PARAMS \fBc \fP\fIconnection instance \fP .PP \fBmsg_ptr \fP\fIpointer to a message buffer to receive into \fP .PP \fBmsg_len \fP\fIthe size of the buffer \fP .PP \fBms_timeout \fP\fItime in milliseconds to wait for a message 0 == no wait, negative == block, positive == wait X ms. \fP .PP .SH DESCRIPTION .RE .SH RETURN VALUE .PP size of the message or error (-errno) .PP .SH NOTE .PP that msg_ptr will include a \fIqb_ipc_response_header\fR at the top of the message. .SH SEE ALSO .PP .nh .ad l \fIqb_ipcc_send\fR(3), \fIqb_ipcc_sendv_recv\fR(3), \fIqb_ipcc_recv\fR(3), \fIqb_ipcc_fc_enable_max_set\fR(3), \fIqb_ipcc_is_connected\fR(3), \fIqb_ipcc_sendv\fR(3), \fIqb_ipcc_context_set\fR(3), \fIqb_ipcc_context_get\fR(3), \fIqb_ipcc_verify_dgram_max_msg_size\fR(3), \fIqb_ipcc_get_buffer_size\fR(3), \fIqb_ipcc_connect\fR(3), \fIqb_ipcc_disconnect\fR(3), \fIqb_ipcc_fd_get\fR(3) .ad .hy .SH "COPYRIGHT" .PP Copyright (C) 2010-2020 Red Hat, Inc. All rights reserved.