Mercurial > hg > Members > kono > nitros9-code
diff docs/ccguide/read.refentry @ 552:fcb97f0ba24b
All diagnostics added.
author | roug |
---|---|
date | Wed, 16 Oct 2002 20:02:31 +0000 |
parents | 73319ee6a57e |
children | c49be44efba2 |
line wrap: on
line diff
--- a/docs/ccguide/read.refentry Wed Oct 16 20:02:22 2002 +0000 +++ b/docs/ccguide/read.refentry Wed Oct 16 20:02:31 2002 +0000 @@ -29,6 +29,18 @@ </para> </refsect1> +<refsect1><title>Diagnostics</title> +<para> +Read and readln return the number of bytes actually read (0 at +end-of-file) or -1 for physical i/o errors, a bad path number, +or a ridicolous "count". +</para> +<para> +NOTE that end-of-file is not considered an error, and no error +indication is returned. Zero is returned on EOF. +</para> +</refsect1> + <refsect1><title>See Also</title> <para> <link linkend="open">open()</link>,