From d0a3453953e9cbcc6dd9b39525088d0c09c45589 Mon Sep 17 00:00:00 2001 From: tma Date: Mon, 19 Nov 2007 19:59:37 +0000 Subject: * s/O_NDELAY/O_NONBLOCK/ git-svn-id: svn://svn.icculus.org/quake3/trunk@1215 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/sys/con_tty.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'code/sys') diff --git a/code/sys/con_tty.c b/code/sys/con_tty.c index dd37c19..5e499eb 100644 --- a/code/sys/con_tty.c +++ b/code/sys/con_tty.c @@ -168,7 +168,7 @@ void CON_Shutdown( void ) } // Restore blocking to stdin reads - fcntl( 0, F_SETFL, fcntl( 0, F_GETFL, 0 ) & ~O_NDELAY ); + fcntl( 0, F_SETFL, fcntl( 0, F_GETFL, 0 ) & ~O_NONBLOCK ); } /* @@ -256,7 +256,7 @@ void CON_Init( void ) signal(SIGTTOU, SIG_IGN); // Make stdin reads non-blocking - fcntl( 0, F_SETFL, fcntl( 0, F_GETFL, 0 ) | O_NDELAY ); + fcntl( 0, F_SETFL, fcntl( 0, F_GETFL, 0 ) | O_NONBLOCK ); if (isatty(STDIN_FILENO)!=1) { -- cgit v1.2.3