aboutsummaryrefslogtreecommitdiffstats
path: root/man3/gets.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/gets.3')
-rw-r--r--man3/gets.38
1 files changed, 3 insertions, 5 deletions
diff --git a/man3/gets.3 b/man3/gets.3
index f4949e4e62..d7ec25e34f 100644
--- a/man3/gets.3
+++ b/man3/gets.3
@@ -22,7 +22,7 @@
.\" License.
.\" Modified Wed Jul 28 11:12:07 1993 by Rik Faith (faith@cs.unc.edu)
.\" Modified Fri Sep 8 15:48:13 1995 by Andries Brouwer (aeb@cwi.nl)
-.TH GETS 3 2008-08-06 "GNU" "Linux Programmer's Manual"
+.TH GETS 3 2011-09-28 "GNU" "Linux Programmer's Manual"
.SH NAME
fgetc, fgets, getc, getchar, gets, ungetc \- input of characters and strings
.SH SYNOPSIS
@@ -71,8 +71,7 @@ into the buffer pointed to by
.I s
until either a terminating newline or
.BR EOF ,
-which it replaces with
-.BR \(aq\e0\(aq .
+which it replaces with a null byte (\(aq\e0\(aq).
No check for buffer overrun is performed (see BUGS below).
.PP
.BR fgets ()
@@ -86,8 +85,7 @@ Reading stops after an
.B EOF
or a newline.
If a newline is read, it is stored into the buffer.
-A
-.B \(aq\e0\(aq
+A terminating null byte (\(aq\e0\(aq)
is stored after the last character in the buffer.
.PP
.BR ungetc ()