puts(3s)
NAME
puts, fputs − put a string on a stream
SYNTAX
#include <stdio.h>
puts(s)
char *s;
fputs(s, stream)
char *s;
FILE *stream;
DESCRIPTION
The puts subroutine copies the null-terminated string s to the standard output stream stdout and appends a new line character.
The fputs subroutine copies the null-terminated string s to the named output stream.
Neither routine copies the terminal null character.
RESTRICTIONS
The puts subroutine appends a new line, while fputs does not.
SEE ALSO
fopen(3s), gets(3s), putc(3s), printf(3s), ferror(3s) fread(3s)