mirror of https://github.com/mkerrisk/man-pages
puts.3: Reorder functions more logically (group related fuinctions together)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
cbd813e73c
commit
460aeeb46d
19
man3/puts.3
19
man3/puts.3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue