don't expect a version suffix when --with-gcc-version is specified since it doesn...
[AROS.git] / rom / exec / rawmaygetchar.c
blobe997e3765a030b3794b3e92051883f6ccbd012c5
1 /*
2 Copyright © 1995-2010, 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 <proto/kernel.h>
11 #include "exec_intern.h"
13 /*****i***********************************************************************
15 NAME */
16 #include <proto/exec.h>
18 AROS_LH0(LONG, RawMayGetChar,
20 /* LOCATION */
21 struct ExecBase *, SysBase, 85, Exec)
23 /* FUNCTION
24 Check if there is a character on the raw console.
26 INPUTS
27 None.
29 RESULT
30 The character or -1 if there was none.
32 NOTES
33 This function is for very low level debugging only.
35 EXAMPLE
37 BUGS
39 SEE ALSO
40 RawIOInit(), RawPutChar()
42 INTERNALS
44 *****************************************************************************/
46 AROS_LIBFUNC_INIT
48 return KrnMayGetChar();
50 AROS_LIBFUNC_EXIT
51 } /* RawMayGetChar */