puts.3: Reorder functions more logically (group related fuinctions together)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2020-12-31 23:38:02 +01:00
parent cbd813e73c
commit 460aeeb46d
1 changed files with 8 additions and 11 deletions

View File

@ -31,13 +31,10 @@ fputc, fputs, putc, putchar, puts \- output of characters and strings
.B #include <stdio.h>
.PP
.BI "int fputc(int " c ", FILE *" stream );
.PP
.BI "int fputs(const char *" "s" ", FILE *" "stream" );
.PP
.BI "int putc(int " c ", FILE *" stream );
.PP
.BI "int putchar(int " c );
.PP
.BI "int fputs(const char *" "s" ", FILE *" "stream" );
.BI "int puts(const char *" "s" );
.fi
.SH DESCRIPTION
@ -49,13 +46,6 @@ cast to an
to
.IR stream .
.PP
.BR fputs ()
writes the string
.I s
to
.IR stream ,
without its terminating null byte (\(aq\e0\(aq).
.PP
.BR putc ()
is equivalent to
.BR fputc ()
@ -67,6 +57,13 @@ more than once.
is equivalent to
.BI "putc(" c ", " stdout ) \fR.
.PP
.BR fputs ()
writes the string
.I s
to
.IR stream ,
without its terminating null byte (\(aq\e0\(aq).
.PP
.BR puts ()
writes the string
.I s