qnx_receive (taskid)
A list whose car is the process ID of the sending task and whose cdr is a character string containing the message which was sent, or -1 on error.
This function performs a QNX 4 Receive. Once a message has been received the sending task is blocked until the recipient issues a reply message using the qnx_reply function.
This function should only be used to receive a specific message from a specific task. There is no need to make your own event loop in Gamma since there is a choice of next_event, next_event_nb, and PtMainloop.
Possible errno values are:
EFAULT invalid buffer size
EINTR the function call was interrupted by a signal
ESRCH the process ID does not exist
Copyright © 1995-2010 by Cogent Real-Time Systems, Inc. All rights reserved.