1
0
mirror of https://github.com/bashrc/LKMPG.git synced 2018-06-11 03:06:54 +02:00
This commit is contained in:
Bob Mottram
2014-06-12 20:54:00 +01:00
parent ede770315b
commit 6665a1b978
2 changed files with 3 additions and 6 deletions

View File

@@ -1573,12 +1573,9 @@ BE CARREFUL: when a sequence is finished, another one starts. That means that at
*** Figure: How seq_file works
[seq_file]
Seq_file provides basic functions for file_operations, as seq_read,
seq_lseek, and some others. But nothing to write in the /proc file. Of
course, you can still use the same way as in the previous example.
| [[./seq_file.jpg]] |
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Seq_file provides basic functions for file_operations, as seq_read, seq_lseek, and some others. But nothing to write in the /proc file. Of course, you can still use the same way as in the previous example. |
*** Example: procfs4.c
#+BEGIN_SRC: c

BIN
seq_file.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB