autodoc.git / traditional_manual / chapter_9.html

version» Context lines:

autodoc.git/traditional_manual/chapter_9.html:561:   </dd>   <dt class='head--doc'>Note</dt>   <dd class='body--doc'><p>On some platforms the string returned can be somewhat nondescriptive.</p>   </dd></dl>   </dd>   <dt><a name='9.5'></a>   <h2 class='header'>9.5. Files and sockets</h2></dt>   <dd><dl><dt><h2 class='header'>Class <b class='ms datatype'>Stdio.File</b></h2>   </dt><dd><dl class='group--doc'>   <dt class='head--doc'>Annotations</dt> - <dd class='body--annotation'><pre><code><code>Pike.Annotations.Implements</code>(<code>NonblockingStream</code>)</code></pre></dd><dd class='body--annotation'><pre><code><code>Pike.Annotations.Implements</code>(<code>BlockFile</code>)</code></pre></dd> + <dd class='body--annotation'><pre><code>@<code>Pike.Annotations.Implements</code>(<code>NonblockingStream</code>)</code></pre></dd><dd class='body--annotation'><pre><code>@<code>Pike.Annotations.Implements</code>(<code>BlockFile</code>)</code></pre></dd>   <dt class='head--doc'>Description</dt>   <dd class='body--doc'><p>This is the basic I/O object, it provides socket and pipe    communication as well as file access. It does not buffer reads and    writes by default, and provides no line-by-line reading, that is done    with <code>Stdio.FILE</code> object.</p>   </dd>   <dt class='head--doc'>Note</dt>   <dd class='body--doc'><p>The file or stream will normally be closed when this object is    destructed (unless there are more objects that refer to the same    file through use of <code>assign</code> or <code>dup</code>). Objects do not contain
autodoc.git/traditional_manual/chapter_9.html:3825:   </dd>   <dt class='head--doc'>Returns</dt>   <dd class='body--doc'><p>Returns the number of bytes written, i.e. <code class='expr'>sizeof(str)</code>.</p>   </dd>   <dt class='head--doc'>See also</dt>   <dd class='body--doc'><p><code>append_file()</code>, <code>read_bytes()</code>, <code>Stdio.File()-&gt;open()</code></p>   </dd></dl>   <dl><dt><h2 class='header'>Class <b class='ms datatype'>Stdio.BlockFile</b></h2>   </dt><dd><dl class='group--doc'>   <dt class='head--doc'>Annotations</dt> - <dd class='body--annotation'><pre><code><code>Pike.Annotations.Implements</code>(<code>Stream</code>)</code></pre></dd> + <dd class='body--annotation'><pre><code>@<code>Pike.Annotations.Implements</code>(<code>Stream</code>)</code></pre></dd>   <dt class='head--doc'>Description</dt>   <dd class='body--doc'><p>The Stdio.BlockFile API.</p>   <p> This class exists purely for typing reasons.</p>   <p> Use in types in place of <code>Stdio.File</code> where only blocking    I/O is done with the object.</p>   </dd>   <dt class='head--doc'>See also</dt>   <dd class='body--doc'><p><code>Stream</code>, <code>NonblockingStream</code>, <code>File</code>, <code>FILE</code></p>   </dd></dl>   
autodoc.git/traditional_manual/chapter_9.html:4744:   </dd>   <dt class='head--doc'>Returns</dt>   <dd class='body--doc'><p>Returns <code class='expr'>1</code> on success and <code class='expr'>0</code> (zero) on failure.</p>   </dd>   <dt class='head--doc'>See also</dt>   <dd class='body--doc'><p><code>tcgetattr()</code>, <code>tcsetattr()</code></p>   </dd></dl>   </dd></dl><dl><dt><h2 class='header'>Class <b class='ms datatype'>Stdio.NonblockingStream</b></h2>   </dt><dd><dl class='group--doc'>   <dt class='head--doc'>Annotations</dt> - <dd class='body--annotation'><pre><code><code>Pike.Annotations.Implements</code>(<code>Stream</code>)</code></pre></dd> + <dd class='body--annotation'><pre><code>@<code>Pike.Annotations.Implements</code>(<code>Stream</code>)</code></pre></dd>   <dt class='head--doc'>Description</dt>   <dd class='body--doc'><p>The Stdio.NonblockingStream API.</p>   <p> This class exists purely for typing reasons.</p>   <p> Use in types in place of <code>Stdio.File</code> where nonblocking and/or    blocking stream-oriented I/O is done with the object.</p>   </dd>   <dt class='head--doc'>See also</dt>   <dd class='body--doc'><p><code>Stream</code>, <code>BlockFile</code>, <code>File</code>, <code>FILE</code></p>   </dd></dl>