Xinu7/man/man2/psend.doc
PSEND(2) Xinu Programmer's Manual PSEND(2)
NAME
psend - send a message to a port
SYNOPSIS
int psend(portid, message)
int portid;
char *message;
DESCRIPTION
_P_s_e_n_d adds the pointer _m_e_s_s_a_g_e to the port _p_o_r_t_i_d. If suc-
cessful, _p_s_e_n_d returns OK; it returns SYSERR if _p_o_r_t_i_d is
invalid. Note that only a pointer, not the entire message,
is enqueued, and that psend may return to the caller before
the receiver has consumed the message.
If the port is full at the time of the call, the sending
process will be blocked until space is available in the port
for the message.
SEE ALSO
pcount(2), pcreate(2), pdelete(2), preceive(2), preset(2)
Version 6b Printed 1/12/87 1