SEND(2)
NAME
send − send a (one-word) message to a process
SYNOPSIS
int send(pid, msg)
int pid;
int msg;
DESCRIPTION
Send sends the one-word message msg to the process with id pid. A process may have at most one outstanding message that has not been received.
Send returns SYSERR if pid 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)
December 01, 1986 — Xinu Programmer’s Manual