2 Copyright © 1995-2012, The AROS Development Team. All rights reserved.
5 ANSI C function fputs().
12 /*****************************************************************************
24 Write a string to the specified stream.
27 str - Output this string...
28 fh - ...to this stream
31 > 0 on success and EOF on error.
40 puts(), fputc(), putc()
44 ******************************************************************************/
46 fdesc
*fdesc
= __getfdesc(stream
->fd
);
54 if (!str
) str
= "(null)";
56 if (FPuts((BPTR
)fdesc
->fcb
->fh
, str
) == -1)
58 errno
= __arosc_ioerr2errno(IoErr());