F>=1 .if 3F<=8 . if 3F>1 .if 3F<6 .ds an-extra3 "BSD Program- WAIT(3F) BSD Reference Manual WAIT(3F) mer's Manual NNAAMMEE wait - wait for a process to terminate SSYYNNOOPPSSIISS iinntteeggeerr ffuunnccttiioonn wwaaiitt ((ssttaattuuss)) iinntteeggeerr ssttaattuuss DDEESSCCRRIIPPTTIIOONN _W_a_i_t 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 _w_a_i_t_, return is imme- diate; 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 _s_t_a_t_u_s is its termination status (see _w_a_i_t(2)). If the returned value is negative, it is the negation of a system error code. FFIILLEESS /usr/lib/libU77.a SSEEEE AALLSSOO wait(2), signal(3F), kill(3F), perror(3F) 4.2 Berkeley Distribution June 5, 1993 1