Skip to content

Commit e375e1d

Browse files
author
Vladimir Kotal
committed
mention O_CLOEXEC
1 parent 40a0f44 commit e375e1d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

proc.tex

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -596,6 +596,10 @@
596596
for example. When done, run the program via \texttt{truss(1)} or
597597
\texttt{strace(1)} like this: \texttt{truss ./a.out}. You will see what is being
598598
done before \texttt{open} is called in the end.
599+
\item The \texttt{FD\_CLOEXEC} file descriptor flag is set using the
600+
\texttt{fcntl} system call. It can be also set via implementation specific
601+
(i.e. non-standard) way, e.g. by passing the \texttt{O\_CLOEXEC} flag to
602+
the \texttt{open} system call on Linux.
599603
\end{itemize}
600604

601605
\begin{slide}

0 commit comments

Comments
 (0)