mark scripts as executable
[AROS.git] / rom / kernel / maygetchar.c
blob186792eea3539428b71c947786edd7aaec4c1b96
1 /*
2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc:
6 */
8 #include <aros/kernel.h>
10 #include <kernel_base.h>
11 #include <kernel_debug.h>
13 /*****************************************************************************
15 NAME */
16 #include <proto/kernel.h>
18 AROS_LH0(int, KrnMayGetChar,
20 /* SYNOPSIS */
22 /* LOCATION */
23 struct KernelBase *, KernelBase, 26, Kernel)
25 /* FUNCTION
26 Read a single character from low-level debug input stream
28 INPUTS
29 None
31 RESULT
32 An ASCII code of the character or -1 if there's no character
33 available
35 NOTES
36 This function never waits. If there is no character available on
37 the stream it just returns with -1
39 EXAMPLE
41 BUGS
43 SEE ALSO
45 INTERNALS
47 ******************************************************************************/
49 AROS_LIBFUNC_INIT
51 /* The implementation is entirely architecture-specific */
52 return -1;
54 AROS_LIBFUNC_EXIT