Xinu7/man/man2/send.doc
SEND(2) Xinu Programmer's Manual SEND(2)
NAME
send - send a (one-word) message to a process
SYNOPSIS
int send(pid, msg)
int pid;
int msg;
DESCRIPTION
_S_e_n_d sends the one-word message _m_s_g to the process with id
_p_i_d. A process may have at most one outstanding message that
has not been received.
_S_e_n_d returns SYSERR if _p_i_d is invalid or if the process
already has a message waiting that has not been received.
Otherwise, it sends the message and returns OK.
SEE ALSO
receive(2), sendf(2), preceive(2), psend(2)
Version 6b Printed 1/12/87 1