tgrekov-pipex
HIVE pipex May 2024
|
Definition in file wait_all.c.
#include <sys/wait.h>
Go to the source code of this file.
Functions | |
int | wait_all (int *pids, int n, int override) |
Wait for first n processes in pids to change state and return the last process's exit code, if it could be resolved, or 1 . | |
int wait_all | ( | int * | pids, |
int | n, | ||
int | override | ||
) |
Wait for first n
processes in pids
to change state and return the last process's exit code, if it could be resolved, or 1
.
pids | Process ids to wait on |
n | Number of process ids |
override | Overrides return value if non-zero |
int | Last process's exit code or 1 |
Definition at line 31 of file wait_all.c.