diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-01-03 01:36:34 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-01-03 01:36:34 -0800 |
commit | 7e7a8a6eaeb4c22acb94aaca87a7b15c180ca077 (patch) | |
tree | 405503a31b48f5c5e13f103efc5762e57b290625 /html/071read-line.subx.html | |
parent | c9bda4d13ea33873dd5bce1eef0434cb11763d19 (diff) | |
download | mu-7e7a8a6eaeb4c22acb94aaca87a7b15c180ca077.tar.gz |
5876 - address -> addr
Diffstat (limited to 'html/071read-line.subx.html')
-rw-r--r-- | html/071read-line.subx.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/html/071read-line.subx.html b/html/071read-line.subx.html index b97cc706..8abf926d 100644 --- a/html/071read-line.subx.html +++ b/html/071read-line.subx.html @@ -66,7 +66,7 @@ if ('onhashchange' in window) { <span id="L6" class="LineNr"> 6 </span><span class="subxComment"># read bytes from 'f' until (and including) a newline and store them into 's'</span> <span id="L7" class="LineNr"> 7 </span><span class="subxComment"># 's' fails to grow if and only if no data found</span> <span id="L8" class="LineNr"> 8 </span><span class="subxComment"># just abort if 's' is too small</span> -<span id="L9" class="LineNr"> 9 </span><span class="subxFunction">read-line-buffered</span>: <span class="subxComment"># f : (address buffered-file), s : (address stream byte)</span> +<span id="L9" class="LineNr"> 9 </span><span class="subxFunction">read-line-buffered</span>: <span class="subxComment"># f : (addr buffered-file), s : (addr stream byte)</span> <span id="L10" class="LineNr"> 10 </span> <span class="subxComment"># pseudocode:</span> <span id="L11" class="LineNr"> 11 </span> <span class="subxComment"># while true</span> <span id="L12" class="LineNr"> 12 </span> <span class="subxComment"># if (s->write >= s->length) abort</span> @@ -276,7 +276,7 @@ if ('onhashchange' in window) { <span id="L216" class="LineNr">216 </span><span class="subxComment"># read bytes from 'f' until (and including) a newline and store them into 's'</span> <span id="L217" class="LineNr">217 </span><span class="subxComment"># 's' fails to grow if and only if no data found</span> <span id="L218" class="LineNr">218 </span><span class="subxComment"># just abort if 's' is too small</span> -<span id="L219" class="LineNr">219 </span><span class="subxFunction">read-line</span>: <span class="subxComment"># f : (address stream byte), s : (address stream byte)</span> +<span id="L219" class="LineNr">219 </span><span class="subxFunction">read-line</span>: <span class="subxComment"># f : (addr stream byte), s : (addr stream byte)</span> <span id="L220" class="LineNr">220 </span> <span class="subxComment"># pseudocode:</span> <span id="L221" class="LineNr">221 </span> <span class="subxComment"># while true</span> <span id="L222" class="LineNr">222 </span> <span class="subxComment"># if (s->write >= s->length) abort</span> |