109
112
<p>There is no syseof() function, which is ok, since eof() doesn't work
110
113
very well on device files (like ttys) anyway. Use sysread() and check
111
114
for a return value for 0 to decide whether you're done.</p>
114
117
characters are read instead of bytes (the LENGTH, OFFSET, and the
115
118
return value of sysread() are in Unicode characters).
116
119
The <code class="inline"><span class="j">:</span><span class="i">encoding</span><span class="s">(</span>...<span class="s">)</span></code>
119
See <a href="binmode.html">binmode</a>, <a href="open.html">open</a>, and the <code class="inline"><a class="l_k" href="../functions/open.html">open</a></code> pragma, <a href="../open.html">open</a>.</p>
122
See <a href="#binmode">"binmode"</a>, <a href="#open">"open"</a>, and the <code class="inline"><a class="l_k" href="../functions/open.html">open</a></code> pragma, <a href="../open.html">open</a>.</p>