/* * console-null.c: Null driver, does nothing. * * Author: * Gonzalo Paniagua Javier (gonzalo@ximian.com) * * Copyright (C) 2005-2009 Novell, Inc. (http://www.novell.com) */ #include #include #include #include #include #include void mono_console_init (void) { } MonoBoolean ves_icall_System_ConsoleDriver_Isatty (HANDLE handle) { MONO_ARCH_SAVE_REGS; return (GetFileType (handle) == FILE_TYPE_CHAR); } MonoBoolean ves_icall_System_ConsoleDriver_SetEcho (MonoBoolean want_echo) { return FALSE; } MonoBoolean ves_icall_System_ConsoleDriver_SetBreak (MonoBoolean want_break) { return FALSE; } gint32 ves_icall_System_ConsoleDriver_InternalKeyAvailable (gint32 timeout) { return FALSE; } MonoBoolean ves_icall_System_ConsoleDriver_TtySetup (MonoString *keypad, MonoString *teardown, MonoArray **control_chars, int **size) { return FALSE; }