Skip to content

Commit b36c1d4

Browse files
committed
clarify how inetd works
1 parent 7eba38b commit b36c1d4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

network.tex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,8 @@
536536
process can accept new connections meanwhile. So, multiple connections may be
537537
served in parallel.
538538
\item After \funnm{fork}()ing but before performing I/O on the connection, the
539-
child may \funnm{exec}() -- that is how \texttt{inetd} works.
539+
child may redirect standard file descriptors to the socket and call
540+
\funnm{exec}() -- that is how \texttt{inetd} works.
540541
\item As you already know, by calling \funnm{waitpid}() you are getting rid of
541542
zombies. This only works because the \texttt{WNOHANG} flag is used,
542543
otherwise the parent would be blocked and the next connection would only be

0 commit comments

Comments
 (0)