libc.info: puts

Go forward to putw
Go backward to putchar
Go up to Stdio
Go to the top op libc

`puts'--write a character string

*Synopsis*
     #include <stdio.h>
     int puts(const char *S);
     int _puts_r(void *REENT, const char *S);
   *Description*
`puts' writes the string at S (followed by a newline, instead of the
trailing null) to the standard output stream.
   The alternate function `_puts_r' is a reentrant version.  The extra
argument REENT is a pointer to a reentrancy structure.
*Returns*
If successful, the result is a nonnegative integer; otherwise, the
result is `EOF'.
*Portability*
ANSI C requires `puts', but does not specify that the result on success
must be `0'; any non-negative value is permitted.
   Supporting OS subroutines required: `close', `fstat', `isatty',
`lseek', `read', `sbrk', `write'.