Synopsis
unsigned ctl_message_queue_receive_multi_nb(CTL_MESSAGE_QUEUE_t *q,
                                            unsigned n,
                                            void **messages);
Description

ctl_message_queue_receive_multi_nb pops the oldest n messages in the message queue pointed to by q into the memory pointed to by message.

ctl_message_queue_receive_multi_nb returns the number of messages that were received.