puts, fputs --
put a string on a stream
int puts (const char s);
int fputs (const char s, FILE stream);
puts writes the string pointed to by
followed by a new-line character, to the standard output stream
fputs writes the null-terminated string pointed to by
to the named output
Neither function writes the terminating null character.
On success both routines return the number of characters written;
otherwise they return
The functions puts and fputs fail
if either the named stream is unbuffered or its buffer
needed to be flushed and an attempt was made to write at
or beyond the offset maximum.
puts appends a new-line character while fputs does not.
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004