Added a test for MUIA_Listview_SelectChange.
[AROS.git] / arch / all-mingw32 / kernel / maygetchar.c
blob5fb69d5d65f4d771bbd20be4853db569071e232d
1 /*
2 Copyright © 1995-2014, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <proto/exec.h>
8 #include "kernel_base.h"
10 AROS_LH0(int, KrnMayGetChar,
11 struct KernelBase *, KernelBase, 26, Kernel)
13 AROS_LIBFUNC_INIT
15 int c;
17 Forbid();
18 c = KernelIFace.core_getc();
19 Permit();
21 return c;
23 AROS_LIBFUNC_EXIT