On Apr 8 15:43, Jon TURNEY wrote:
Despite the comment here, io_stream::read() is now implemented to provide the
same behaviour as POSIX read(): If the stream is at EOF, 0 is returned. If an
error occurred, -1 is returned. So we can detect errors and propagate them to
our caller.
Despite the comment here, io_stream::read() is now implemented to provide the
same behaviour as POSIX read(): If the stream is at EOF, 0 is returned. If an
error occurred, -1 is returned. So we can detect errors and propagate them to
our caller.
2011-04-08 Jon TURNEY