[patch] make getline return description match the code
Ben Collins
bcollins@debian.org
Fri Jan 5 07:48:00 GMT 2001
If getline() reads a line with no newline, and reaches EOF, it still
returns the number of bytes read, and not -1 as the documentation
implies. This patch just clarifies that.
2001-01-05 Ben Collins <bcollins@debian.org>
* manual/stdio.texi: getline(): clarify the return value in the
case of EOF being reached before a newline.
--
-----------=======-=-======-=========-----------=====------------=-=------
/ Ben Collins -- ...on that fantastic voyage... -- Debian GNU/Linux \
` bcollins@debian.org -- bcollins@openldap.org -- bcollins@linux.com '
`---=========------=======-------------=-=-----=-===-======-------=--=---'
More information about the Libc-alpha
mailing list