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