2 Copyright © 1995-2001, 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 *****************************************************************************/
47 AROS_LIBBASE_EXT_DECL(struct ExecBase
*,SysBase
)
49 /* Don't write 0 bytes */
52 /* Write char to stderr */
53 write (STDERR_FILENO
, &chr
, 1);
55 /* Make sure it makes it to the user. Slow but save. */
56 fsync (STDERR_FILENO
);