puts


puts

Writes a text line to standard output

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

The puts( ) function writes the string referenced by its pointer argument to the standard output stream, followed by a newline character ('\n'). The return value is non-negative, or EOF if an error occurs.

Example

See the examples at qsort( ), setjmp( ), and signal( ) in this chapter.

See Also

fputs( ), gets( ), fputws( )



C(c) In a Nutshell
C in a Nutshell (In a Nutshell (OReilly))
ISBN: 0596006977
EAN: 2147483647
Year: 2006
Pages: 473

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net