| PMRECEIVE(3) | PMRECEIVE(3) | 
int pmReceive(pmContext *pmc, caddr_t *bufp, size_t *lenp);
| pmContext * | pmc | pmContext object | |
| caddr_t * | bufp | Address of message | |
| size_t * | lenp | Length of message | 
pmReceive() polls for message arrival and returns an address
and a length of the message if available.  If pmc is of type
 PM_COMPOSITE and a message is received,  the context is
locked until
pmReleaseReceiveBuffer()
is called.
| PM_SUCCESS | Message is received | 
| ENOBUFS | No message is received | 
| EIO | Data link level error (CRC error for Myrinet) | 
| EPIPE | Network reset occurred (Myrinet) |