2 Copyright © 1995-2003, The AROS Development Team. All rights reserved.
5 ANSI C function fputs().
13 /*****************************************************************************
25 Write a string to the specified stream.
28 str - Output this string...
29 fh - ...to this stream
32 > 0 on success and EOF on error.
41 puts(), fputc(), putc()
45 ******************************************************************************/
47 fdesc
*fdesc
= __getfdesc(stream
->fd
);
55 if (!str
) str
= "(null)";
57 if (FPuts((BPTR
)fdesc
->fh
, str
) == -1)
59 errno
= IoErr2errno(IoErr());