Branch: Tag:

2014-10-08

2014-10-08 16:02:45 by Arne Goedeke <el@laramies.com>

Stdio: typo in documentation

Buffer does not start with a vowel anymore.

689:   <ul>   <li><p>When data arrives on the stream, <code>read_cb</code> will be called with    some or all of that data as the second argument.</p> - <p> If the file is in buffer mode, the second argument will be an Buffer.</p> + <p> If the file is in buffer mode, the second argument will be a Buffer.</p>   <p> This will always be the same buffer, so data you do not use in    one read callback can be simply left in the buffer, when new    data arrives it will be appended</p>
701:    If the remote end has closed both directions simultaneously    (the usual case), Pike will first attempt to call <code>close_cb</code>,    then this callback (unless <code>close_cb</code> has closed the stream).</p> - <p> If the file is in buffer mode, the second argument will be an Buffer.</p> + <p> If the file is in buffer mode, the second argument will be a Buffer.</p>   <p> You should add data to write to this buffer.</p>   </li><li><p>When out-of-band data arrives on the stream, <code>read_oob_cb</code>    will be called with some or all of that data as the second
4012:   <dd class='body--doc'><p>The various read_callback signatures.</p>   <p> The string (or void) version is used when buffer mode (see    <code>set_buffer_mode</code>) has not been enabled for reading.</p> - <p> The Buffer version is used when an Buffer has been enabled + <p> The Buffer version is used when a Buffer has been enabled    for reading</p>   <p> In both cases the data is the newly arrived data, but in buffered    mode data you did not fully read in the last read callback is
4226:   <dd class='body--doc'><p>The various write_callback signatures.</p>   <p> The void version is used when buffer mode (see    <code>set_buffer_mode</code>) has not been enabled for writing.</p> - <p> The Buffer version is used when an Buffer has been enabled + <p> The Buffer version is used when a Buffer has been enabled    for reading, add data to that buffer to send it.</p>   </dd></dl>