2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
5 Desc: Emit one character via raw IO
10 /*****i***********************************************************************
13 #include <proto/exec.h>
15 AROS_LH1(void, RawPutChar
,
18 AROS_LHA(UBYTE
, chr
, D0
),
21 struct ExecBase
*, SysBase
, 86, Exec
)
24 Emits a single character.
27 chr - The character to emit
33 This function is for very low level debugging only.
40 RawIOInit(), RawPutChar(), RawMayGetChar()
44 *****************************************************************************/
48 /* Don't write 0 bytes */
51 /* Write char to stderr */
52 write (STDERR_FILENO
, &chr
, 1);
54 /* Make sure it makes it to the user. Slow but save. */
55 fsync (STDERR_FILENO
);