diff options
Diffstat (limited to 'man3/gets.3')
| -rw-r--r-- | man3/gets.3 | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/man3/gets.3 b/man3/gets.3 index 1927b3be52..386d34d8cc 100644 --- a/man3/gets.3 +++ b/man3/gets.3 @@ -63,8 +63,8 @@ more than once. is equivalent to .BI "getc(" stdin ) \fR. .PP -.BR gets() " reads" -a line from +.BR gets () +reads a line from .I stdin into the buffer pointed to by .I s @@ -107,7 +107,10 @@ library for the same input stream. For non-locking counterparts, see .BR unlocked_stdio (3). .SH "RETURN VALUE" -.BR fgetc() , " getc() " and " getchar()" +.BR fgetc (), +.BR getc () +and +.BR getchar () return the character read as an .B unsigned char cast to an @@ -116,7 +119,9 @@ or .B EOF on end of file or error. .PP -.BR gets() " and " fgets() +.BR gets() +and +.BR fgets() return .I s on success, and |
