Skip to content

Commit 390e72b

Browse files
committed
Improved language.
1 parent 3f8180c commit 390e72b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

proc.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1306,9 +1306,9 @@
13061306
redefining existing functions if we need to call the original function in our
13071307
redefined one. The library with a modified function is loaded first, possibly
13081308
using \texttt{LD\_PRELOAD}, and the address of the original function can be
1309-
found using
1309+
found using:
13101310
ifdef([[[NOSPELLCHECK]]], [[[
1311-
\texttt{dlsym(RTLD\_NEXT, \emph{fn\_name})}.
1311+
~~\texttt{dlsym(RTLD\_NEXT, \emph{fn\_name})}.
13121312
]]])
13131313
Example: \example{dyn-lib/rtld\_next.c}.
13141314
\item All these functions are part of the dynamic linker that each dynamically

signals.tex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@
3737
\item Historically, signals were provided as a mechanism to forcefully terminate
3838
processes. That is why the function for sending signals is called
3939
\funnm{kill}.
40-
\item A nice example of an asynchronous event is while on Linux you send
41-
a \texttt{SIGUSR1} to the \texttt{dd} command to print I/O statistics to
42-
standard error output. Start \texttt{dd} first, then send a couple of
43-
\texttt{USR1} signals its way, like this:
40+
\item A nice example of an asynchronous event is to send a \texttt{SIGUSR1} to
41+
the \texttt{dd} command on Linux to print its progress to standard error output.
42+
Start \texttt{dd} first, then send a couple of \texttt{USR1} signals its way,
43+
like this:
4444

4545
\begin{verbatim}
4646
$ kill -USR1 $(pgrep -f "dd if=/dev/zero of=/dev/null")

0 commit comments

Comments
 (0)