cmu_receive

	status.i4.v = cmu_receive(mailbox_name.i1a.r, message.i1a.r,
				  maximum_length.i4.v, returned_length.i4.r,
				  from_who.i1a.r [,wait.i4.v])

	This routine will read a message from mailbox into a caller-
	supplied buffer.  The program should have previously connected
	to this mailbox by calling cmu_connect.  

	mailbox_name	mailbox name (CMU_NAMLEN characters) 
	message		mail message buffer
			(must be as large as the value specified for
			 "maximum_length")
	maximum_length	maximum number of bytes to be received
	returned_length	size of message actually received in bytes
	from_who	returned string indicating the sender of the message
			(allow CMU_NAMLEN + 1 characters)
	[wait]		wait flag
			(TRUE -> this routine will wait until a message
				 is received,
			 FALSE -> routine will return immediately (default))

	This function returns ACNET status values as follows:

	OK			success
	CMU_NOMB		not connected to this mailbox
	CMU_NOMESS		no messages available
	CMU_ILLEN		invalid maximum allowable message length
	CMU_BADHEAD		header of received message is corrupted
	CMU_TRUNC		received message was truncated
	CMU_SYSERR		Unix system error

	This function requires the following include files:

	clib_h, acnet_errors_h

	Related functions:

	cmu_send, cmu_connect, cmu_disconnect, cmu_empty_box

	C/C++ usage:

	static const char	mailbox_name[CMU_NAMLEN+1] = "mailbox_name";
	char	message[MAXIMUM_LENGTH];
	char	from_who[CMU_NAMLEN+1];
	int	status;
	int	maximum_length = MAXIMUM_LENGTH;
	int	returned_length;
	int	wait = FALSE;

	status = cmu_receive(mailbox_name,message,maximum_length,
			     &returned_length,from_who,wait);