2 Copyright © 1995-2012, The AROS Development Team. All rights reserved.
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(fdesc
->fcb
->handle
, str
) == -1)
59 errno
= __stdc_ioerr2errno(IoErr());