Lines Matching refs:buf
45 struct termios buf;
49 (void) ioctl(f, TCGETS, &buf);
50 buf.c_cflag |= HUPCL;
51 (void) ioctl(f, TCSETS, &buf);
64 (void) ioctl(f, TCGETS, &buf);
65 if (cfgetospeed(&buf) != B1200) { /* must dial at 1200 baud */
66 speed = cfgetospeed(&buf);
67 (void) cfsetospeed(&buf, B0);
68 (void) cfsetispeed(&buf, B0);
69 (void) cfsetospeed(&buf, B1200);
70 (void) ioctl(f, TCSETSW, &buf);
88 (void) cfsetospeed(&buf, B0);
89 (void) cfsetispeed(&buf, B0);
90 (void) cfsetospeed(&buf, speed);
91 (void) ioctl(f, TCSETSW, &buf);