Lines Matching refs:SYSERR
111 #define SYSERR -1 macro
181 while(tcgetattr(fd,tty) == SYSERR) in tty_get()
184 return(SYSERR); in tty_get()
211 while(tcsetattr(fd, action, tty) == SYSERR) in tty_set()
214 return(SYSERR); in tty_set()
251 if(tty_set(fd, TCSANOW, &ttyparm) == SYSERR) in tty_cooked()
278 if(tty_get(fd,&ttyparm) == SYSERR) in tty_raw()
303 if( tty_set(fd, TCSADRAIN, &nttyparm) == SYSERR ) in tty_raw()
308 if(ioctl(fd,TIOCGLTC,&l_chars) != SYSERR) in tty_raw()
314 if(ioctl(fd,TIOCSLTC,&lchars) != SYSERR) in tty_raw()
373 if( tty_set(fd, TCSADRAIN, &nttyparm) == SYSERR ) in tty_raw()
407 if((tty_get(fd,&ttyparm) != SYSERR)) in tty_alt()
411 if(ioctl(fd,TIOCGETC,&l_ttychars) == SYSERR) in tty_alt()
413 if(ioctl(fd,TIOCLGET,&l_mask)==SYSERR) in tty_alt()
419 if(ioctl(fd,TIOCLBIS,&mask)==SYSERR) in tty_alt()
425 if(ioctl(fd,TIOCSETC,&ttychars) == SYSERR) in tty_alt()
450 if((tty_get(fd, &ttyparm)==SYSERR) || (!(ttyparm.c_lflag&ECHO))) in tty_alt()
496 if( tty_set(fd, TCSADRAIN, &nttyparm) == SYSERR ) in tty_alt()