File:  [Power 6/32 Unix Tahoe 4.2BSD] / cci / usr / src / man / man3 / wait.3f
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Sun Jul 28 12:24:19 2019 UTC (7 years ago) by root
Branches: bsd, MAIN
CVS tags: v12b, v121, HEAD
Power 6/32 Unix version 1.2b

.TH WAIT 3F "13 June 1983"
.UC 4
.SH NAME
wait \- wait for a process to terminate
.SH SYNOPSIS
.B integer function wait (status)
.br
.B integer status
.SH DESCRIPTION
.I Wait
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
.I wait,
return is immediate; if there are no children, return is immediate
with an error code.
.PP
If the returned value is positive, it is the process ID of the child and
.I status
is its termination status (see
.IR wait (2)).
If the returned value is negative, it is the negation of a system error code.
.SH FILES
.ie \nM /usr/ucb/lib/libU77.a
.el /usr/lib/libU77.a
.SH "SEE ALSO"
wait(2), signal(3F), kill(3F), perror(3F)

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.