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>
|
.B #include <stdio.h>
|
||||||
.PP
|
.PP
|
||||||
.BI "int fputc(int " c ", FILE *" stream );
|
.BI "int fputc(int " c ", FILE *" stream );
|
||||||
.PP
|
|
||||||
.BI "int fputs(const char *" "s" ", FILE *" "stream" );
|
|
||||||
.PP
|
|
||||||
.BI "int putc(int " c ", FILE *" stream );
|
.BI "int putc(int " c ", FILE *" stream );
|
||||||
.PP
|
|
||||||
.BI "int putchar(int " c );
|
.BI "int putchar(int " c );
|
||||||
.PP
|
.PP
|
||||||
|
.BI "int fputs(const char *" "s" ", FILE *" "stream" );
|
||||||
.BI "int puts(const char *" "s" );
|
.BI "int puts(const char *" "s" );
|
||||||
.fi
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
@ -49,13 +46,6 @@ cast to an
|
||||||
to
|
to
|
||||||
.IR stream .
|
.IR stream .
|
||||||
.PP
|
.PP
|
||||||
.BR fputs ()
|
|
||||||
writes the string
|
|
||||||
.I s
|
|
||||||
to
|
|
||||||
.IR stream ,
|
|
||||||
without its terminating null byte (\(aq\e0\(aq).
|
|
||||||
.PP
|
|
||||||
.BR putc ()
|
.BR putc ()
|
||||||
is equivalent to
|
is equivalent to
|
||||||
.BR fputc ()
|
.BR fputc ()
|
||||||
|
@ -67,6 +57,13 @@ more than once.
|
||||||
is equivalent to
|
is equivalent to
|
||||||
.BI "putc(" c ", " stdout ) \fR.
|
.BI "putc(" c ", " stdout ) \fR.
|
||||||
.PP
|
.PP
|
||||||
|
.BR fputs ()
|
||||||
|
writes the string
|
||||||
|
.I s
|
||||||
|
to
|
||||||
|
.IR stream ,
|
||||||
|
without its terminating null byte (\(aq\e0\(aq).
|
||||||
|
.PP
|
||||||
.BR puts ()
|
.BR puts ()
|
||||||
writes the string
|
writes the string
|
||||||
.I s
|
.I s
|
||||||
|
|
Loading…
Reference in New Issue