Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

wait(2)

kill(3f)

perror(3f)

signal(3f)

wait(3f)

NAME

wait − wait for a process to terminate

SYNTAX

integer function wait (status)
integer status

DESCRIPTION

The wait routine causes its caller to be suspended until a signal is received or one of its child processes terminates. If any child has terminated since the last wait, return is immediate; if there are no children, return is immediate with an error code.

If the returned value is positive, it is the process ID of the child and status is its termination status.  For further information, see wait(.). If the returned value is negative, it is the negation of a system error code.

FILES

/usr/lib/libU77.a

SEE ALSO

wait(2), kill(3f), perror(3f), signal(3f)

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