[merp] Remove dead code (#20043)
[mono-project.git] / mono / metadata / console-null.c
blobf512974a1a95377dbdcd94a1e9a9ab8c537e00dd
1 /**
2 * \file
3 * Null driver, does nothing.
5 * Author:
6 * Gonzalo Paniagua Javier (gonzalo@ximian.com)
8 * Copyright (C) 2005-2009 Novell, Inc. (http://www.novell.com)
9 * Licensed under the MIT license. See LICENSE file in the project root for full license information.
12 #include <mono/metadata/appdomain.h>
13 #include <mono/metadata/object-internals.h>
14 #include <mono/metadata/class-internals.h>
15 #include <mono/metadata/domain-internals.h>
16 #include <mono/metadata/gc-internals.h>
17 #include <mono/metadata/console-io.h>
18 #include <mono/metadata/exception.h>
19 #include <mono/metadata/w32file.h>
20 #include <mono/utils/w32api.h>
21 #include "icall-decl.h"
23 void
24 mono_console_init (void)
28 void
29 mono_console_handle_async_ops (void)
33 MonoBoolean
34 ves_icall_System_ConsoleDriver_Isatty (HANDLE handle, MonoError* error)
36 return mono_w32file_get_type (handle) == FILE_TYPE_CHAR;
39 MonoBoolean
40 ves_icall_System_ConsoleDriver_SetEcho (MonoBoolean want_echo, MonoError* error)
42 return FALSE;
45 MonoBoolean
46 ves_icall_System_ConsoleDriver_SetBreak (MonoBoolean want_break, MonoError* error)
48 return FALSE;
51 gint32
52 ves_icall_System_ConsoleDriver_InternalKeyAvailable (gint32 timeout, MonoError* error)
54 return FALSE;
57 MonoBoolean
58 ves_icall_System_ConsoleDriver_TtySetup (MonoStringHandle keypad, MonoStringHandle teardown, MonoArrayHandleOut control_chars, int **size, MonoError* error)
60 return FALSE;