Lines Matching defs:SYSERR
112 #define SYSERR -1
182 while(tcgetattr(fd,tty) == SYSERR)
185 return(SYSERR);
212 while(tcsetattr(fd, action, tty) == SYSERR)
215 return(SYSERR);
253 if(tty_set(fd, TCSANOW, &ttyparm) == SYSERR)
280 if(tty_get(fd,&ttyparm) == SYSERR)
305 if( tty_set(fd, TCSADRAIN, &nttyparm) == SYSERR )
310 if(ioctl(fd,TIOCGLTC,&l_chars) != SYSERR)
316 if(ioctl(fd,TIOCSLTC,&lchars) != SYSERR)
376 if( tty_set(fd, TCSADRAIN, &nttyparm) == SYSERR )
410 if((tty_get(fd,&ttyparm) != SYSERR))
414 if(ioctl(fd,TIOCGETC,&l_ttychars) == SYSERR)
416 if(ioctl(fd,TIOCLGET,&l_mask)==SYSERR)
422 if(ioctl(fd,TIOCLBIS,&mask)==SYSERR)
428 if(ioctl(fd,TIOCSETC,&ttychars) == SYSERR)
453 if((tty_get(fd, &ttyparm)==SYSERR) || (!(ttyparm.c_lflag&ECHO)))
499 if( tty_set(fd, TCSADRAIN, &nttyparm) == SYSERR )