1PUTS(3S)                                                              PUTS(3S)
2
3
4

NAME

6       puts, fputs - put a string on a stream
7

SYNOPSIS

9       #include <stdio.h>
10
11       puts(s)
12       char *s;
13
14       fputs(s, stream)
15       char *s;
16       FILE *stream;
17

DESCRIPTION

19       Puts  copies the null-terminated string s to the standard output stream
20       stdout and appends a newline character.
21
22       Fputs copies the null-terminated string s to the named output stream.
23
24       Neither routine copies the terminal null character.
25

SEE ALSO

27       fopen(3), gets(3), putc(3), printf(3), ferror(3)
28       fread(3) for fwrite
29

BUGS

31       Puts appends a newline, fputs does not, all in  the  name  of  backward
32       compatibility.
33
34
35
36                                                                      PUTS(3S)
Impressum