Lines Matching +full:wait +full:- +full:state
32 .Nm wait ,
38 .Nd wait for processes to change status
44 .Fn wait "int *status"
66 .Fn wait
72 .Fn wait
84 that need to wait for specific child processes,
87 The other wait functions are implemented using either
101 .Fn wait ,
106 functions all implicitly wait for exited and trapped processes,
125 .Bd -literal
145 .Pf non- Dv NULL ,
148 signal delivered when the process changed state.
160 .Bl -bullet -offset indent
169 wait for the child process with a process ID equal to
179 wait for the child process with a process group ID equal to
189 wait for any child process and the
205 wait for any child process in the same process group as the caller.
208 Non-standard identifier types supported by this
214 .Bl -tag -width P_JAILID
216 Wait for processes whose effective user ID is equal to
219 Wait for processes whose effective group ID is equal to
222 Wait for processes whose session ID is equal to
239 argument specifies the set of child processes for which to wait.
240 .Bl -bullet -offset indent
244 is -1, the call waits for any child process.
258 is less than -1, the call waits for any process whose process group ID
270 .Bl -tag -width WCONTINUED
297 .Fn wait ,
313 .Fn wait ,
327 Keep the process whose status is returned in a waitable state.
345 return -1 with
352 is non-NULL, a summary of the resources used by the terminated
357 is non-NULL, separate summaries are returned for the resources used
362 is non-NULL, a
407 .Fn wait
412 value of -1,
434 value of -1.
451 Exactly one of the following four macros will evaluate to a non-zero
454 .Bl -tag -width Ds
458 This macro can be true only if the wait call specified the
470 This macro can be true only if the wait call specified the
479 .Bl -tag -width Ds
483 is true, evaluates to the low-order 8 bits
514 the remaining child processes are re-assigned to the reaper
522 .Fn wait
524 the call may be interrupted or restarted when the signal-catching routine
536 .Fn wait
547 .Fn wait
554 .Fn wait
558 Otherwise, a value of \-1
573 -1 is returned with
583 a value of -1
590 returns because one or more processes have a state change to report,
593 a value of -1
611 .Fn wait
621 .Fn wait
624 .Bl -tag -width Er
626 The calling process has no existing unwaited-for
666 .Fn wait ,
691 .Fn wait