Skip to content

Commit 789161d

Browse files
committed
fix formatting
1 parent 93a2e89 commit 789161d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

proc.tex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -883,16 +883,16 @@
883883
\item \texttt{< -1} \dots{} wait for any child in the process group of
884884
\texttt{abs(pid)}
885885
\end{itemize}
886-
\item There are also \funnm{wait3} and \funnm{wait4} calls. These are more
886+
\item There are also \texttt{wait3} and \texttt{wait4} calls. These are more
887887
generic versions, also allowing to gather resource utilization statistics from
888888
exited child.
889889
\item A parent should always call one of the wait functions otherwise the system
890890
will accumulate \emph{zombies} -- terminated processes that occupy process table
891891
slots only to be waited for by their parents. Zombies could eventually exhaust
892892
all the system memory. Note that if the parent exits, its children are adopted
893-
by the \texttt{init} process that will call \funnm{wait} on such processes.
894-
However, you should always use wait for children even if you know the parent
895-
will exit soon.
893+
by the \texttt{init} process that will call \texttt{wait} on such processes.
894+
However, you should always use \texttt{wait} for children even if you know the
895+
parent will exit soon.
896896
\item Actually, you could notify the system that the program will not wait for
897897
its children in which case such zombies will not accumulate. See page
898898
\pageref{IGNORE_SIG_CHLD}.

0 commit comments

Comments
 (0)