2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
7 #include <libraries/stdcio.h>
9 /*****************************************************************************
20 Print a string to stdout. A newline ('\n') is emmitted after the
24 str - Print this string
27 > 0 on success and EOF on error. On error, the reason is put in
35 if (puts ("Hello World.") != EOF)
36 fprintf (stderr, "Success");
38 fprintf (stderr, "Failure: errno=%d", errno);
43 fputs(), printf(), fprintf(), putc(), fputc()
47 ******************************************************************************/
49 struct StdCIOBase
*StdCIOBase
= __aros_getbase_StdCIOBase();
50 FILE *out
= StdCIOBase
->_stdout
;
54 fputs (str
, out
) == EOF
||
55 fputs ("\n", out
) == EOF
||