

#include <stdio.h> int puts(const char *str);
puts(str) is equivalent to fputs(str, stdout), except that a
new-line character is written to stdout after the last character of
str.
puts returns EOF if an error occurs. Otherwise, puts returns a
nonzero value.
stdout
#include <stdio.h>
main()
{
puts("The first line of example output.");
fputs("The second line of example output ",stdout);
puts("written in two pieces.");
}
afwrite, fputs
Copyright (c) 1998 SAS Institute Inc. Cary, NC, USA. All rights reserved.