show more relevant debug
[AROS.git] / rom / exec / rawmaygetchar.c
blobd8c281be81d558babc736aac767b6854d88df92d
1 /*
2 Copyright © 1995-2017, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Check if there is a character on the raw console
6 Lang: english
7 */
9 #include "exec_intern.h"
11 /*****i***********************************************************************
13 NAME */
14 #include <proto/exec.h>
16 AROS_LH0(LONG, RawMayGetChar,
18 /* LOCATION */
19 struct ExecBase *, SysBase, 85, Exec)
21 /* FUNCTION
22 Check if there is a character on the raw console.
24 INPUTS
25 None.
27 RESULT
28 The character or -1 if there was none.
30 NOTES
31 This function is for very low level debugging only.
33 EXAMPLE
35 BUGS
37 SEE ALSO
38 RawIOInit(), RawPutChar()
40 INTERNALS
42 *****************************************************************************/
44 AROS_LIBFUNC_INIT
46 return KrnMayGetChar();
48 AROS_LIBFUNC_EXIT
49 } /* RawMayGetChar */