From 7d0199963a2ec019270ee187f8c9cb8adb25dac1 Mon Sep 17 00:00:00 2001
From: Laurent Bercot
+ int waitn_posix (pid_t *pids, unsigned int n, int *wstat)
+Like waitn, but stores into *wstat the status
+of the last process in the pids array (i.e. pids[n-1]).
+
int waitn_reap (pid_t *pids, unsigned int n)
Instantly reaps all zombies whose PIDs are stored in the
@@ -430,6 +436,13 @@ zombies if it succeeds. The pid array is not guaranteed to
be unchanged.
+ int waitn_reap_posix (pid_t *pids, unsigned int n, int *wstat)
+Like waitn_reap, but stores into *wstat the status
+of the last process in the pids array (i.e. pids[n-1]),
+if applicable; otherwise *wstat is unchanged.
+
pid_t wait_nohang (int *wstat)
Instantly reaps one zombie, and stores the status information into
--
cgit v1.2.3