diff --git a/LKMPG-3.16.html b/LKMPG-3.16.html index b8979f5..919a50a 100644 --- a/LKMPG-3.16.html +++ b/LKMPG-3.16.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + The Linux Kernel Module Programming Guide diff --git a/LKMPG-3.16.org b/LKMPG-3.16.org index 2bc91f0..19cd223 100644 --- a/LKMPG-3.16.org +++ b/LKMPG-3.16.org @@ -1492,12 +1492,19 @@ BE CARREFUL: when a sequence is finished, another one starts. That means that at #+BEGIN_SRC dot :file img/seq_file.png digraph seq_file { - yesnull [label="Yes" border=0]; + rankdir="LR"; + yesnull [label="Yes" penwidth=0]; returnnull1 [label="return is NULL?" shape=diamond]; returnnull2 [label="return is NULL?" shape=diamond]; start [label="start() treatment" shape=box]; next [label="next() treatment" shape=box]; stop [label="stop() treatment" shape=box]; + + { rank=source; start; returnnull1; } + { rank=source; returnnull1; next; } + { rank=source; next; returnnull2; } + { rank=source; returnnull2; stop; } + start -> returnnull1; returnnull1 -> next [label="No"]; returnnull1 -> yesnull; diff --git a/img/seq_file.png b/img/seq_file.png index c957b1f..e665ae7 100644 Binary files a/img/seq_file.png and b/img/seq_file.png differ