Home
last modified time | relevance | path

Searched refs:kbdpoll (Results 1 – 8 of 8) sorted by relevance

/dports/japanese/ng-devel/ng-1.5beta1/sys/sysv/
H A Dttyio.c100 int kbdpoll; /* in O_NDELAY mode */ variable
138 kbdpoll = (((kbdflgs = fcntl(0, F_GETFL, 0)) & O_NDELAY) != 0); in ttopen()
157 kbdpoll = ((fcntl(0, F_GETFL, 0) & O_NDELAY) != 0); in ttopen()
281 if( kbdpoll && fcntl( 0, F_SETFL, kbdflgs ) < 0 ) in ttgetc()
283 kbdpoll = FALSE; in ttgetc()
317 if( !kbdpoll && fcntl( 0, F_SETFL, kbdflgs | O_NDELAY ) < 0 ) in typeahead()
319 kbdpoll = TRUE; in typeahead()
412 if (kbdpoll && fcntl( 0, F_SETFL, kbdflgs ) < 0) in ttwait()
414 kbdpoll = FALSE; in ttwait()
/dports/editors/beav/beav-140/
H A Dtermio.c49 int kbdpoll; /* in O_NDELAY mode */ variable
107 kbdpoll = FALSE;
170 kbdpoll = FALSE;
362 if (kbdpoll && (ioctl (0, FIONREAD, &count), count == 0))
366 if (kbdpoll && fcntl (0, F_SETFL, kbdflgs) < 0)
368 kbdpoll = FALSE;
398 if (!kbdpoll && (ioctl (0, FIONREAD, &count), count == 0))
400 kbdpoll = TRUE; /* fix in 1.13 */
407 if (!kbdpoll && fcntl (0, F_SETFL, kbdflgs | O_NDELAY) < 0)
409 kbdpoll = TRUE; /* fix in 1.13 */
H A Damiga.c71 int kbdpoll; /* in O_NDELAY mode */ variable
391 kbdpoll = FALSE; in ttopen()
/dports/japanese/ng-canna/ng-1.4.4/sys/sysv/
H A Dttyio.c97 int kbdpoll; /* in O_NDELAY mode */ variable
135 kbdpoll = (((kbdflgs = fcntl(0, F_GETFL, 0)) & O_NDELAY) != 0); in ttopen()
154 kbdpoll = ((fcntl(0, F_GETFL, 0) & O_NDELAY) != 0); in ttopen()
288 if( kbdpoll && fcntl( 0, F_SETFL, kbdflgs ) < 0 ) in ttgetc()
290 kbdpoll = FALSE; in ttgetc()
324 if( !kbdpoll && fcntl( 0, F_SETFL, kbdflgs | O_NDELAY ) < 0 ) in typeahead()
326 kbdpoll = TRUE; in typeahead()
423 if (kbdpoll && fcntl( 0, F_SETFL, kbdflgs ) < 0) in ttwait()
425 kbdpoll = FALSE; in ttwait()
/dports/japanese/ng/ng-1.4.4/sys/sysv/
H A Dttyio.c97 int kbdpoll; /* in O_NDELAY mode */ variable
135 kbdpoll = (((kbdflgs = fcntl(0, F_GETFL, 0)) & O_NDELAY) != 0); in ttopen()
154 kbdpoll = ((fcntl(0, F_GETFL, 0) & O_NDELAY) != 0); in ttopen()
288 if( kbdpoll && fcntl( 0, F_SETFL, kbdflgs ) < 0 ) in ttgetc()
290 kbdpoll = FALSE; in ttgetc()
324 if( !kbdpoll && fcntl( 0, F_SETFL, kbdflgs | O_NDELAY ) < 0 ) in typeahead()
326 kbdpoll = TRUE; in typeahead()
423 if (kbdpoll && fcntl( 0, F_SETFL, kbdflgs ) < 0) in ttwait()
425 kbdpoll = FALSE; in ttwait()
/dports/japanese/ng-devel/ng-1.5beta1/sys/unix/
H A Dttyio.c118 int kbdpoll; /* in O_NONBLOCK mode */ variable
201 kbdpoll = (((kbdflgs = fcntl(0, F_GETFL, 0)) & O_NONBLOCK) != 0);
207 kbdpoll = ((fcntl(0, F_GETFL, 0) & O_NONBLOCK) != 0);
393 if( kbdpoll && fcntl( 0, F_SETFL, kbdflgs ) < 0 )
395 kbdpoll = FALSE;
480 if( !kbdpoll && fcntl( 0, F_SETFL, kbdflgs | O_NONBLOCK) < 0 )
482 kbdpoll = TRUE;
561 if (kbdpoll && fcntl( 0, F_SETFL, kbdflgs ) < 0)
563 kbdpoll = FALSE;
/dports/editors/uemacs/uemacs-4.0/src/
H A Daosvs.c146 int kbdpoll; /* type ahead polling flag */ variable
553 if (fcntl(STDIN->_file, F_SETFL, kbdflgs) < 0 && kbdpoll) in doschar()
555 kbdpoll = FALSE; in doschar()
611 if (fcntl(STDIN->_file, F_SETFL, (kbdflgs | O_NDELAY)) < 0 && kbdpoll)
613 kbdpoll = TRUE;
1337 kbdpoll = FALSE;
/dports/misc/rump/buildrump.sh-b914579/src/sys/dev/sun/
H A Dkbd.c88 dev_type_poll(kbdpoll);
99 .d_poll = kbdpoll,
259 kbdpoll(dev_t dev, int events, struct lwp *l) in kbdpoll() function