Indentation fix, cleanup.
[AROS.git] / rom / exec / rawputchar.c
blob8ccdd59c73562de6aadf51d06d2c12c6867da8bf
1 /*
2 Copyright © 1995-2010, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Emit one character via raw IO
6 Lang: english
7 */
9 #include <proto/kernel.h>
11 #include "exec_intern.h"
13 /*****i***********************************************************************
15 NAME */
16 #include <proto/exec.h>
18 AROS_LH1(void, RawPutChar,
20 /* SYNOPSIS */
21 AROS_LHA(UBYTE, chr, D0),
23 /* LOCATION */
24 struct ExecBase *, SysBase, 86, Exec)
26 /* FUNCTION
27 Emits a single character into low-level debug output stream
29 INPUTS
30 chr - The character to emit
32 RESULT
33 None.
35 NOTES
36 This function is for very low level debugging only.
38 Zero bytes are ignored by this function.
40 EXAMPLE
42 BUGS
44 SEE ALSO
45 RawIOInit(), RawPutChar(), RawMayGetChar()
47 INTERNALS
49 *****************************************************************************/
51 AROS_LIBFUNC_INIT
53 /* Don't write 0 bytes */
54 if (KernelBase && chr)
55 KrnPutChar(chr);
57 AROS_LIBFUNC_EXIT
58 } /* RawPutChar */