Branch: Tag:


2003-10-22 20:28:05 by Martin Stjernholm <>

Fixed return value from close (not that anyone looks at it, but anyway).
Some doc fixes.

Rev: lib/modules/Stdio.pmod/module.pmod:1.184

103:   <dd class='body--doc'><p>Close the file. Optionally, specify "r", "w" or "rw" to close just    the read, just the write or both read and write directions of the file    respectively.</p> + <p> An exception is thrown if an I/O error occurs.</p>   </dd> -  + <dt class='head--doc'>Returns</dt> + <dd class='body--doc'><p>Nonzero is returned if the file wasn't open in the specified +  direction, zero otherwise.</p> + </dd>   <dt class='head--doc'>Note</dt>   <dd class='body--doc'><p>This function will not call the <tt>close_callback</tt>.</p>   </dd>
4043:   </dd>   <dt class='head--doc'>Note</dt>   <dd class='body--doc'><p>The sending is performed asynchronously, and may complete -  before the function returns.</p> +  before or after the function returns.</p>   <p> For <code>callback</code> to be called, the backend must be active (ie    <code>main()</code> must have returned <code class='expr'>-1</code>, or <code>Pike.DefaultBackend</code>    get called in some other way).</p>