1WAIT(3F)                                                              WAIT(3F)
2
3
4

NAME

6       wait - wait for a process to terminate
7

SYNOPSIS

9       integer function wait (status)
10       integer status
11

DESCRIPTION

13       Wait  causes  its  caller to be suspended until a signal is received or
14       one of its child processes terminates.  If  any  child  has  terminated
15       since  the  last  wait,  return is immediate; if there are no children,
16       return is immediate with an error code.
17
18       If the returned value is positive, it is the process ID  of  the  child
19       and  status  is  its termination status (see wait(2)).  If the returned
20       value is negative, it is the negation of a system error code.
21

FILES

23       /usr/lib/libU77.a
24

SEE ALSO

26       wait(2), signal(3F), kill(3F), perror(3F)
27
28
29
304.2 Berkeley Distribution        May 15, 1985                         WAIT(3F)
Impressum