2010-04-19 Rodrigo Kumpera <rkumpera@novell.com>
[mono.git] / mono / metadata / console-null.c
bloba50b2a37d203ecfc99e593b20a4fda0180e48fe6
1 /*
2 * console-null.c: Null driver, does nothing.
4 * Author:
5 * Gonzalo Paniagua Javier (gonzalo@ximian.com)
7 * Copyright (C) 2005-2009 Novell, Inc. (http://www.novell.com)
8 */
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>
18 void
19 mono_console_init (void)
23 MonoBoolean
24 ves_icall_System_ConsoleDriver_Isatty (HANDLE handle)
26 MONO_ARCH_SAVE_REGS;
28 return (GetFileType (handle) == FILE_TYPE_CHAR);
31 MonoBoolean
32 ves_icall_System_ConsoleDriver_SetEcho (MonoBoolean want_echo)
34 return FALSE;
37 MonoBoolean
38 ves_icall_System_ConsoleDriver_SetBreak (MonoBoolean want_break)
40 return FALSE;
43 gint32
44 ves_icall_System_ConsoleDriver_InternalKeyAvailable (gint32 timeout)
46 return FALSE;
49 MonoBoolean
50 ves_icall_System_ConsoleDriver_TtySetup (MonoString *keypad, MonoString *teardown, MonoArray **control_chars, int **size)
52 return FALSE;