Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ psend(2) — Purdue Xinu

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

pcount(2)

pcreate(2)

pdelete(2)

preceive(2)

preset(2)

PSEND(2)

NAME

psend − send a message to a port

SYNOPSIS

int psend(portid, message)
int portid;
char ∗message;

DESCRIPTION

Psend adds the pointer message to the port portid.  If successful, psend returns OK; it returns SYSERR if portid 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)

December 01, 1986  —  Xinu Programmer’s Manual

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026