The puts function

Name

puts -- 

Synopsis

#include <stdio.h>

int puts (const char *s );

Description

The puts function writes the string pointed to by s to the stream pointed to by stdout and appends a new-line character to the output. The terminating null character is not written.

Returns

The puts function returns EOF if a write error occurs: otherwise it returns a non-negative value.