2 Copyright © 1995-2012, The AROS Development Team. All rights reserved.
10 #include <dos/dosextens.h>
11 #include <proto/exec.h>
12 #include <proto/dos.h>
16 /*****************************************************************************
28 Write one character to the specified stream.
31 c - The character to output
32 stream - The character is written to this stream
35 The character written or EOF on error.
47 ******************************************************************************/
49 fdesc
*fdesc
= __getfdesc(stream
->fd
);
57 if (FPutC(fdesc
->fcb
->handle
, c
) == EOF
)
59 errno
= __stdc_ioerr2errno(IoErr());