autodoc.git / traditional_manual / chapter_9.html

version» Context lines:

autodoc.git/traditional_manual/chapter_9.html:6152:   <dt class='head--doc'>Note</dt>   <dd class='body--doc'><p>Most methods can't be called for a file descriptor that isn't    open. Notable exceptions <code>errno</code>, <code>mode</code>, and the set and query    functions for callbacks and backend.</p>   </dd></dl>         <hr />   <dl class='group--doc'>   <dt class='head--type'><span class='homogen--type'>Method</span> + <span class='homogen--name'><b>isatty</b></span> + </dt> + <dd><p><code><code class='datatype'>bool</code> <b><span class='method'>isatty</span>(</b><b>)</b></code></p></dd> +  + <dt class='head--doc'>Description</dt> + <dd class='body--doc'><p>Returns true if the file is a terminal.</p> + </dd></dl> +  +  + <hr /> + <dl class='group--doc'> + <dt class='head--type'><span class='homogen--type'>Method</span>   <span class='homogen--name'><b>linger</b></span>   </dt>   <dd><p><code><code class='datatype'>bool</code> <b><span class='method'>linger</span>(</b><code class='datatype'>int(-1..65535)</code>|<code class='datatype'>void</code> <code class='argument'>seconds</code><b>)</b></code></p></dd>      <dt class='head--doc'>Description</dt>   <dd class='body--doc'><p>Set the socket linger behaviour on <code>close()</code>.</p>   </dd>   <dt class='head--doc'><span id='p-seconds'></span>Parameter <code class='parameter'>seconds</code></dt>   <dd></dd><dd class='body--doc'><table class='box'><tr><td><code><code class='key'>-1</code></code></td><td><p>Reset to default behaviour. This typically means that    <code>close()</code> will return immediately, but any buffered