OSDN Git Service

LDP: Update original to LDP v3.79
[linuxjm/LDP_man-pages.git] / original / man3 / puts.3
index 745d9af..950dd43 100644 (file)
@@ -23,7 +23,7 @@
 .\" %%%LICENSE_END
 .\"
 .\" Modified Sat Jul 24 18:42:59 1993 by Rik Faith (faith@cs.unc.edu)
-.TH PUTS 3  2011-09-28 "GNU" "Linux Programmer's Manual"
+.TH PUTS 3  2014-01-11 "GNU" "Linux Programmer's Manual"
 .SH NAME
 fputc, fputs, putc, putchar, puts \- output of characters and strings
 .SH SYNOPSIS
@@ -63,9 +63,9 @@ except that it may be implemented as a macro which evaluates
 .I stream
 more than once.
 .PP
-.BI "putchar(" c );
+.BI "putchar(" c )
 is equivalent to
-.BI "putc(" c , stdout ).
+.BI "putc(" c ", " stdout ).
 .PP
 .BR puts ()
 writes the string
@@ -112,12 +112,21 @@ will be undefined and very probably not what you want.
 .SH SEE ALSO
 .BR write (2),
 .BR ferror (3),
+.BR fgets (3),
 .BR fopen (3),
 .BR fputwc (3),
 .BR fputws (3),
 .BR fseek (3),
 .BR fwrite (3),
-.BR gets (3),
 .BR putwchar (3),
 .BR scanf (3),
 .BR unlocked_stdio (3)
+.SH COLOPHON
+This page is part of release 3.79 of the Linux
+.I man-pages
+project.
+A description of the project,
+information about reporting bugs,
+and the latest version of this page,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.