mirror of
https://github.com/sysprog21/lkmpg.git
synced 2025-03-13 14:05:10 +08:00
Improve readibility
Add \cpp before |main()| to improve readibility so that it won't look like "|main()|" in the paragraph.
This commit is contained in:
parent
eacb844ad5
commit
617a1d4d52
@ -708,7 +708,7 @@ Now you can turn back to the directory of your module and compile it: It will be
|
||||
\section{Preliminaries}
|
||||
\subsection{How modules begin and end}
|
||||
\label{sec:module_init_exit}
|
||||
A typical program starts with a |main()| function, executes a series of instructions,
|
||||
A typical program starts with a \cpp|main()| function, executes a series of instructions,
|
||||
and terminates after completing these instructions.
|
||||
Kernel modules, however, follow a different pattern.
|
||||
A module always begins with either the \cpp|init_module| function or a function designated by the \cpp|module_init| call.
|
||||
|
Loading…
x
Reference in New Issue
Block a user