|
|
1.1 root 1: .TH WAIT 3F "13 June 1983"
2: .UC 4
3: .SH NAME
4: wait \- wait for a process to terminate
5: .SH SYNOPSIS
6: .B integer function wait (status)
7: .br
8: .B integer status
9: .SH DESCRIPTION
10: .I Wait
11: causes its caller to be suspended until a signal is received or one of
12: its child processes terminates.
13: If any child has terminated since the last
14: .I wait,
15: return is immediate; if there are no children, return is immediate
16: with an error code.
17: .PP
18: If the returned value is positive, it is the process ID of the child and
19: .I status
20: is its termination status (see
21: .IR wait (2)).
22: If the returned value is negative, it is the negation of a system error code.
23: .SH FILES
24: .ie \nM /usr/ucb/lib/libU77.a
25: .el /usr/lib/libU77.a
26: .SH "SEE ALSO"
27: wait(2), signal(3F), kill(3F), perror(3F)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.