Typo at 0.7.3 Manage /proc file with seq_file
This commit is contained in:
parent
35ac926de5
commit
121d816282
|
@ -730,7 +730,7 @@ formating a /proc file for output. It's based on sequence, which is composed of
|
||||||
A sequence begins with the call of the function start(). If the return is a
|
A sequence begins with the call of the function start(). If the return is a
|
||||||
non NULL value, the function next() is called. This function is an iterator, the goal is to go thought all the data. Each time next() is called, the function show() is also called. It writes data values in the buffer read by the user. The function next() is called until it returns NULL. The sequence ends when next() returns NULL, then the function stop() is called.
|
non NULL value, the function next() is called. This function is an iterator, the goal is to go thought all the data. Each time next() is called, the function show() is also called. It writes data values in the buffer read by the user. The function next() is called until it returns NULL. The sequence ends when next() returns NULL, then the function stop() is called.
|
||||||
|
|
||||||
BE CARREFUL: when a sequence is finished, another one starts. That means that at the end of function stop(), the function start() is called again. This loop finishes when the function start() returns NULL. You can see a scheme of this in the figure "How seq\_file works".
|
BE CAREFUL: when a sequence is finished, another one starts. That means that at the end of function stop(), the function start() is called again. This loop finishes when the function start() returns NULL. You can see a scheme of this in the figure "How seq\_file works".
|
||||||
|
|
||||||
\begin{center}
|
\begin{center}
|
||||||
\includegraphics[width=.9\linewidth]{img/seq_file.png}
|
\includegraphics[width=.9\linewidth]{img/seq_file.png}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user