From ec28fc7c4f3e136a38f361cf7ce2274452f0d849 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 6 Jan 2001 23:27:53 +0000 Subject: (Finding Tokens in a String): Document XPG basename() and dirname(), aswell as GNU basename(). --- manual/stdio.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'manual/stdio.texi') diff --git a/manual/stdio.texi b/manual/stdio.texi index 0b030cf2d8..b2f46ba460 100644 --- a/manual/stdio.texi +++ b/manual/stdio.texi @@ -592,8 +592,8 @@ the line from the null character inserted as a terminator. This function is a GNU extension, but it is the recommended way to read lines from a stream. The alternative standard functions are unreliable. -If an error occurs or end of file is reached, @code{getline} returns -@code{-1}. +If an error occurs or end of file is reached without any bytes read, +@code{getline} returns @code{-1}. @end deftypefun @comment stdio.h -- cgit 1.4.1