Skip to content

Commit e18a334

Browse files
committed
mentiond waitid()
1 parent 9b690c2 commit e18a334

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

proc.tex

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -890,7 +890,9 @@
890890
\end{itemize}
891891
\item There are also \texttt{wait3} and \texttt{wait4} calls. These are more
892892
generic versions, also allowing to gather resource utilization statistics from
893-
exited child.
893+
exited child. These are non-standard.
894+
\item There is also \texttt{waitid} syscall with more direct/exposed semantics
895+
of the child status and information about signals.
894896
\item A parent should always call one of the wait functions otherwise the system
895897
will accumulate \emph{zombies} -- terminated processes that occupy process table
896898
slots only to be waited for by their parents. Zombies could eventually exhaust

0 commit comments

Comments
 (0)