Branch: Tag:

2011-09-07

2011-09-07 17:06:30 by Henrik Grubbström (Grubba) <grubba@grubba.org>

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>