-
/*
* console-io.c: ConsoleDriver internal calls
*
* Author:
* Gonzalo Paniagua Javier (gonzalo@ximian.com)
*
- * Copyright (C) 2005 Novell, Inc. (http://www.novell.com)
+ * Copyright (C) 2005-2008 Novell, Inc. (http://www.novell.com)
*/
#include <config.h>
#ifdef HAVE_SYS_FILIO_H
#include <sys/filio.h>
#endif
-#ifndef PLATFORM_WIN32
#ifndef TIOCGWINSZ
+#ifdef HAVE_SYS_IOCTL_H
#include <sys/ioctl.h>
#endif
#endif
static struct termios mono_attr;
#endif
-#ifdef PLATFORM_WIN32
+#if defined (PLATFORM_WIN32) || defined (MONO_NULL_TTYDRIVER)
MonoBoolean
ves_icall_System_ConsoleDriver_Isatty (HANDLE handle)
{
}
MonoBoolean
-ves_icall_System_ConsoleDriver_TtySetup (MonoString *keypad, MonoString *teardown, char *verase, char *vsusp, char *intr)
+ves_icall_System_ConsoleDriver_TtySetup (MonoString *keypad, MonoString *teardown, char *verase, char *vsusp, char*intr, int **size)
{
return FALSE;
}
memset (&sigcont, 0, sizeof (struct sigaction));
memset (&sigint, 0, sizeof (struct sigaction));
+ memset (&sigwinch, 0, sizeof (struct sigaction));
// Continuing
sigcont.sa_handler = (void *) sigcont_handler;