diff --git a/lkmpg.tex b/lkmpg.tex index 0a66089..032690a 100644 --- a/lkmpg.tex +++ b/lkmpg.tex @@ -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 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} \includegraphics[width=.9\linewidth]{img/seq_file.png}