puts(3s) v7 man page | unix.com

Man Page: puts

Operating Environment: v7

Section: 3s

PUTS(3S)																  PUTS(3S)

NAME
puts, fputs - put a string on a stream
SYNOPSIS
#include <stdio.h> puts(s) char *s; fputs(s, stream) char *s; FILE *stream;
DESCRIPTION
Puts copies the null-terminated string s to the standard output stream stdout and appends a newline character. Fputs copies the null-terminated string s to the named output stream. Neither routine copies the terminal null character.
SEE ALSO
fopen(3), gets(3), putc(3), printf(3), ferror(3) fread(3) for fwrite
BUGS
Puts appends a newline, fputs does not, all in the name of backward compatibility. PUTS(3S)
Related Man Pages
fputc(3) - redhat
fputc(3) - debian
puts(3) - debian
fputc(3) - centos
putc(3) - centos
Similar Topics in the Unix Linux Community
Take 10 user inputs and output to file?
Storing user inputs into a file
[Solved] How to refer more than 9 command line inputs for a scripts in korn shell?
How to provide auto inputs for a sub-script within a script?
To print diamond asterisk pattern based on inputs