2 * console-null.c: Null driver, does nothing.
5 * Gonzalo Paniagua Javier (gonzalo@ximian.com)
7 * Copyright (C) 2005-2009 Novell, Inc. (http://www.novell.com)
10 #include <mono/metadata/appdomain.h>
11 #include <mono/metadata/object-internals.h>
12 #include <mono/metadata/class-internals.h>
13 #include <mono/metadata/domain-internals.h>
15 #include <mono/metadata/console-io.h>
16 #include <mono/metadata/exception.h>
19 mono_console_init (void)
24 ves_icall_System_ConsoleDriver_Isatty (HANDLE handle
)
28 return (GetFileType (handle
) == FILE_TYPE_CHAR
);
32 ves_icall_System_ConsoleDriver_SetEcho (MonoBoolean want_echo
)
38 ves_icall_System_ConsoleDriver_SetBreak (MonoBoolean want_break
)
44 ves_icall_System_ConsoleDriver_InternalKeyAvailable (gint32 timeout
)
50 ves_icall_System_ConsoleDriver_TtySetup (MonoString
*keypad
, MonoString
*teardown
, MonoArray
**control_chars
, int **size
)