2 Copyright © 1995-2003, The AROS Development Team. All rights reserved.
5 ANSI C function puts().
8 /*****************************************************************************
19 Print a string to stdout. A newline ('\n') is emmitted after the
23 str - Print this string
26 > 0 on success and EOF on error. On error, the reason is put in
34 if (puts ("Hello World.") != EOF)
35 fprintf (stderr, "Success");
37 fprintf (stderr, "Failure: errno=%d", errno);
42 fputs(), printf(), fprintf(), putc(), fputc()
46 ******************************************************************************/
50 fputs (str
, stdout
) == EOF
||
51 fputs ("\n", stdout
) == EOF
||
52 fflush (stdout
) == EOF