autodoc.git/
traditional_manual/
chapter_9.html
Branch:
Tag:
Non-build tags
All tags
No tags
2011-09-07
2011-09-07 17:06:30 by Henrik Grubbström (Grubba) <grubba@grubba.org>
08d0f395320fe5cb956d758b9c36304544643360 (
10
lines) (+
7
/-
3
)
[
Show
|
Annotate
]
Branch:
8.0
Stdio.Fd: Fixed several cases where the flag FILE_HAVE_RECV_FD was lost.
1126:
close.</p> <p> If no arguments are given, <code>read()</code> reads to the end of the file or stream.</p>
+
<p> If any file descriptors have been sent by the other side of the
+
stream, <code>receive_fd()</code> will be called once for every sent file
+
descriptor.</p>
</dd> <dt class='head--doc'>Note</dt> <dd class='body--doc'><p>It's not necessary to set <code>not_all</code> to avoid blocking reading
1133:
</dd> <dt class='head--doc'>Note</dt> <dd class='body--doc'><p>When at the end of a file or stream, repeated calls to <code>read()</code>
-
returns
the empty string since it's not considered an error. The
-
empty string is never returned in other cases, unless nonblocking
+
will
return
the empty string since it's not considered an error.
+
The empty string is never returned in other cases, unless nonblocking
mode is used or <code>len</code> is zero.</p> </dd> <dt class='head--doc'>See also</dt>
-
<dd class='body--doc'><p><code>read_oob()</code>, <code>write()</code></p>
+
<dd class='body--doc'><p><code>read_oob()</code>, <code>write()</code>
,
<
code>receive_fd()<
/
code>, <code>send_fd()</code></
p>
</dd></dl>