puts(3s)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 subroutine copies the null-terminated string s to the standard out‐
put stream stdout and appends a new line character.
The subroutine copies the null-terminated string s to the named output
stream.
Neither routine copies the terminal null character.
Restrictions
The subroutine appends a new line, while does not.
See Alsofopen(3s), gets(3s), putc(3s), printf(3s), ferror(3s)fread(3s)puts(3s)