autodoc.git/
traditional_manual/
chapter_9.html
Branch:
Tag:
Non-build tags
All tags
No tags
2020-01-20
2020-01-20 16:24:56 by Henrik Grubbström (Grubba) <grubba@grubba.org>
688eaea4834924f97a235516ef27337effe4967f (
22
lines) (+
21
/-
1
)
[
Show
|
Annotate
]
Branch:
688eaea4834924f97a235516ef27337effe4967f
Stdio: Added support for PROP_TTY to pipe().
411:
<tr><td><code><code class='key'>PROP_SEND_FD</code></code></td><td><p>The resulting pipe might support sending of file descriptors (see <code>send_fd()</code> and <code>receive_fd()</code> for details).</p> </td></tr>
+
<tr><td><code><code class='key'>PROP_TTY</code></code></td><td><p>The resulting pipe is a pseudo-tty.</p>
+
</td></tr>
<tr><td><code><code class='key'>PROP_REVERSE</code></code></td><td><p>The resulting pipe supports communication "backwards" (but not necessarily "forwards", see <code>PROP_BIDIRECTIONAL</code>).</p> </td></tr>
420:
<code>PROP_REVERSE</code> has been specified, in which case it is the other way around).</p> <p> The two ends of a bi-directional pipe are indistinguishable.</p>
+
<p> For <code>PROP_TTY</code> the returned object is the slave (unless
+
<code>PROP_REVERSE</code> has been specified).</p>
<p> If the File object this function is called in was open to begin with, it will be closed before the pipe is created.</p> </dd>
431:
<dd class='body--doc'><p><code>Process.create_process()</code>, <code>send_fd()</code>, <code>receive_fd()</code>, <code>PROP_IPC</code>, <code>PROP_NONBLOCK</code>, <code>PROP_SEND_FD</code>, <code>PROP_SHUTDOWN</code>, <code>PROP_BUFFERED</code>, <code>PROP_REVERSE</code>,
-
<code>PROP_BIDIRECTIONAL</code></p>
+
<code>PROP_BIDIRECTIONAL</code>
,
<
code>PROP_TTY<
/
code></
p>
</dd></dl>
3537:
<hr /> <dl class='group--doc'> <dt class='head--type'><span class='homogen--type'>Constant</span>
+
<span class='homogen--name'><b>PROP_TTY</b></span>
+
</dt>
+
<dd><p><code><code class='datatype'>constant</code> <code class='datatype'>int</code> Stdio.<code class='constant'>PROP_TTY</code></code></p></dd>
+
+
<dt class='head--doc'>Description</dt>
+
<dd class='body--doc'><p>The <code>Stdio.File</code> object supports tty operations.</p>
+
</dd>
+
<dt class='head--doc'>See also</dt>
+
<dd class='body--doc'><p><code>Stdio.File()->pipe()</code></p>
+
</dd></dl>
+
+
+
<hr />
+
<dl class='group--doc'>
+
<dt class='head--type'><span class='homogen--type'>Constant</span>
<span class='homogen--name'><b>TCSADRAIN</b></span> </dt> <dd><p><code><code class='datatype'>constant</code> <code class='datatype'>string</code> Stdio.<code class='constant'>TCSADRAIN</code></code></p></dd>