X-Git-Url: http://git.osdn.net/view?p=linuxjm%2FLDP_man-pages.git;a=blobdiff_plain;f=original%2Fman3%2Fputs.3;h=950dd437c877a912f6aeb02b14af231b9c1e930c;hp=0dd6864468e88e49a840fe3400ce9b2f9ef41180;hb=4ea6bb24817f6f049d6bbc90ecd77a869876f9b0;hpb=4b904a2f7904198bf8397efd8c787e1e512992a5 diff --git a/original/man3/puts.3 b/original/man3/puts.3 index 0dd68644..950dd437 100644 --- a/original/man3/puts.3 +++ b/original/man3/puts.3 @@ -1,5 +1,6 @@ .\" Copyright (c) 1993 by Thomas Koenig (ig25@rz.uni-karlsruhe.de) .\" +.\" %%%LICENSE_START(VERBATIM) .\" Permission is granted to make and distribute verbatim copies of this .\" manual provided the copyright notice and this permission notice are .\" preserved on all copies. @@ -19,9 +20,10 @@ .\" .\" Formatted or processed versions of this manual, if unaccompanied by .\" the source, must acknowledge the copyright and authors of this work. -.\" License. +.\" %%%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 @@ -61,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 @@ -79,7 +81,7 @@ library for the same output stream. .PP For nonlocking counterparts, see .BR unlocked_stdio (3). -.SH "RETURN VALUE" +.SH RETURN VALUE .BR fputc (), .BR putc () and @@ -98,7 +100,7 @@ and return a nonnegative number on success, or .B EOF on error. -.SH "CONFORMING TO" +.SH CONFORMING TO C89, C99. .SH BUGS It is not advisable to mix calls to output functions from the @@ -107,15 +109,24 @@ library with low-level calls to .BR write (2) for the file descriptor associated with the same output stream; the results will be undefined and very probably not what you want. -.SH "SEE ALSO" +.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/.