Lines Matching defs:pt
31 #define tcgetattr(fd, pt) ioctl(fd, TCGETA, pt)
32 #define tcsetattr(fd, x, pt) ioctl(fd, TCSETAW, pt)
33 #define cfsetospeed(pt, b) ((pt)->c_cflag = ((pt)->c_cflag & ~CBAUD) | b)
34 #define cfsetispeed(pt, b)
415 static struct termios t, oldt, *pt ;
437 pt = &t ;
444 cfsetospeed ( pt, B38400 ) ;
445 cfsetispeed ( pt, B38400 ) ;
451 cfsetospeed ( pt, B19200 ) ;
452 cfsetispeed ( pt, B19200 ) ;
455 cfsetospeed ( pt, B0 ) ;
458 if ( saved ) pt = &oldt ;
467 if ( ! err && tcsetattr ( f->fd, TCSADRAIN, pt ) )
470 if ( ! err && checktermio ( pt, f ) )