Lines Matching defs:SYSERR
54 #define SYSERR -1
153 while(tcgetattr(fd,&savetty) == SYSERR)
160 return(SYSERR);
196 while(tcsetattr(fd, action, tty) == SYSERR)
203 return(SYSERR);
245 if(savefd<0 || tty_set(fd, TCSANOW, &ttyparm) == SYSERR)
269 if(tty_get(fd,&ttyparm) == SYSERR)
285 if( tty_set(fd, TCSADRAIN, &nttyparm) == SYSERR )
293 if(ioctl(fd,TIOCGLTC,&l_chars) != SYSERR)
299 if(ioctl(fd,TIOCSLTC,&lchars) != SYSERR)
335 if( tty_set(fd, TCSADRAIN, &nttyparm) == SYSERR )
364 if((tty_get(fd,&ttyparm) != SYSERR))
368 if(ioctl(fd,TIOCGETC,&l_ttychars) == SYSERR)
370 if(ioctl(fd,TIOCLGET,&l_mask)==SYSERR)
376 if(ioctl(fd,TIOCLBIS,&mask)==SYSERR)
382 if(ioctl(fd,TIOCSETC,&ttychars) == SYSERR)
401 if((tty_get(fd, &ttyparm)==SYSERR) || (!(ttyparm.c_lflag&ECHO)))
429 if( tty_set(fd, TCSADRAIN, &nttyparm) == SYSERR )