File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 415415\begin {slide }
416416\sltitle {The C Programming Language}
417417\begin {itemize }
418- \item virtually all Unix kernels are written in C. Only some HW dependend parts
418+ \item virtually all Unix kernels are written in C. Only some HW dependent parts
419419are written in assembler.
420420\item C came into existence in the years 1969-1973, by Dennis M. Ritchie (\dag
4214212011)
13201320\item What libraries are eventually used when running the program could be
13211321different from what \texttt {ldd } shows. For example,
13221322one could use the \texttt {LD\_ PRELOAD } mechanism. For that reason,
1323- Solaris has a \texttt {pldd } command which provides the library dependcies for a
1324- running process. For an example on \texttt {LD\_ PRELOAD } with \texttt {gcc }: use
1325- already mentioned \texttt {Ma\- ke\- file01 }, and compile
1323+ Solaris has a \texttt {pldd } command which provides the library dependencies for
1324+ a running process. For an example on \texttt {LD\_ PRELOAD } with \texttt {gcc }:
1325+ use already mentioned \texttt {Ma\- ke\- file01 }, and compile
13261326\example {basic-utils/preload.c} like this: `` \texttt {gcc -shared -o
13271327lib\- pre\- load.so preload.c }'' . Run the program then which interposes a system
13281328call \texttt {close() }: `` \verb #LD_PRELOAD=./libpreload.so ./a.out #'' .
You can’t perform that action at this time.
0 commit comments