From e976c32cebe4dfdb7b81badfa2777cbd62f2d419 Mon Sep 17 00:00:00 2001 From: visitorckw Date: Fri, 1 Sep 2023 04:32:57 +0800 Subject: [PATCH] Fix typo --- lkmpg.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lkmpg.tex b/lkmpg.tex index 53934226..329e8b1e 100644 --- a/lkmpg.tex +++ b/lkmpg.tex @@ -1220,7 +1220,7 @@ \subsection{Manage /proc file with standard filesystem} \subsection{Manage /proc file with seq\_file} \label{sec:manage_procfs_with_seq_file} As we have seen, writing a \verb|/proc| file may be quite ``complex''. -So to help people writting \verb|/proc| file, there is an API named \cpp|seq_file| that helps formating a \verb|/proc| file for output. +So to help people writing \verb|/proc| file, there is an API named \cpp|seq_file| that helps formatting a \verb|/proc| file for output. It is based on sequence, which is composed of 3 functions: \cpp|start()|, \cpp|next()|, and \cpp|stop()|. The \cpp|seq_file| API starts a sequence when a user read the \verb|/proc| file.