Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pcreate(2) — Purdue Xinu

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

pcount(2)

pdelete(2)

preceive(2)

preset(2)

psend(2)

PCREATE(2)

NAME

pcreate − create a new port

SYNOPSIS

int pcreate(count)
int count;

DESCRIPTION

Pcreate creates a port with count locations for storing message pointers. 

Pcreate returns an integer identifying  the port if successful.  If no more ports can be allocated, or if count is nonpositive, pcreate returns SYSERR. 

Ports are manipulated with PSEND(2) and PRECEIVE(2).  Receiving from a port returns a pointer to a message that was previously sent to the port. 

SEE ALSO

pcount(2), pdelete(2), preceive(2), preset(2), psend(2)

December 01, 1986  —  Xinu Programmer’s Manual

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