Skip to content

Commit c50f968

Browse files
committed
improve wording
1 parent 1f4e344 commit c50f968

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

proc.tex

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -593,9 +593,10 @@
593593
to the process address space. The loader then maps all dynamic libraries there
594594
as well, then finally calls the program \texttt{main()}.
595595
\item A useful exercise is to write a simple program calling \texttt{open()},
596-
for example. When done, run the program via \texttt{truss(1)} or
597-
\texttt{strace(1)} like this: \texttt{truss ./a.out}. You will see what is being
598-
done before \texttt{open} is called in the end.
596+
for example. Then run the program via \texttt{truss(1)} or
597+
\texttt{strace(1)} like this: \texttt{truss ./a.out}. You will see a number of
598+
system calls before \texttt{open} is actually called. These system calls
599+
can be attributed to the dynamic linker.
599600
\item The \texttt{FD\_CLOEXEC} file descriptor flag is set using the
600601
\texttt{fcntl} system call. It can be also set via implementation specific
601602
(i.e. non-standard) way, e.g. by passing the \texttt{O\_CLOEXEC} flag to

0 commit comments

Comments
 (0)