Home | History | Annotate | Download | only in aculib

Lines Matching refs:FD

72 	(void)tcgetattr(FD, &cntrl);
74 (void)tcsetattr(FD, TCSAFLUSH, &cntrl);
83 cour_write(FD, "AT E0\r", 6); /* turn off echoing */
89 (void)tcflush(FD, TCIOFLUSH);
90 cour_write(FD, "AT C1 E0 H0 Q0 X6 V1\r", 21);
94 cour_write(FD, "AT D", 4);
98 cour_write(FD, num, (int)strlen(num));
99 cour_write(FD, "\r", 1);
111 (void)ioctl(FD, TIOCCDTR, 0);
113 (void)ioctl(FD, TIOCSDTR, 0);
115 (void)close(FD);
122 cour_write(FD, "\r", 1); /* send anything to abort the call */
154 (void)read(FD, &c, 1);
203 n = read(FD, &c, 1);
228 (void)tcgetattr(FD, &cntrl);
231 (void)tcsetattr(FD, TCSAFLUSH, &cntrl);
264 (void)tcflush(FD, TCIOFLUSH);
265 cour_write(FD, "\rAT Z\r", 6); /* reset modem */
268 (void)ioctl(FD, FIONREAD, &len);
270 len = read(FD, buf, sizeof(buf));
284 cour_write(FD, "+++", 3);
290 (void)ioctl(FD, TIOCCDTR, 0);
292 (void)ioctl(FD, TIOCSDTR, 0);
294 cour_write(FD, "\rAT Z\r", 6);
299 cour_write(int fd, const char *cp, int n)
306 (void)tcdrain(fd);
309 (void)write(fd, cp, 1);
310 (void)tcdrain(fd);
322 if (ioctl(FD, FIONREAD, &n) < 0)
326 if (read(FD, buf, n) != n)