##### Synopsis

    #include <stdio.h>
    int puts(const char *s);

##### Description

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

puts returns EOF if a write error occurs; otherwise it returns a nonnegative value.

##### Portability

puts conforms to ISO/IEC 9899:1990 (C90) and ISO/IEC 9899:1999 (C99).

##### See also

putchar