mirror of
https://github.com/sysprog21/lkmpg.git
synced 2024-11-22 11:13:51 +08:00
Merge pull request #256 from yeh-sudo/improve-readability
Improve readibility
This commit is contained in:
commit
0d434088f1
|
@ -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…
Reference in New Issue
Block a user