Lines Matching defs:dtrwait
49 "usage: comcontrol <filename> [dtrwait <n>] [drainwait <n>]\n");
59 int dtrwait = -1, drainwait = -1;
74 if (ioctl(fd, TIOCMGDTRWAIT, &dtrwait) < 0) {
89 printf("dtrwait %d ", dtrwait);
95 if (!strcmp(argv[2],"dtrwait")) {
96 if (dtrwait >= 0)
100 dtrwait = atoi(argv[3]);
112 if (dtrwait >= 0) {
113 if (ioctl(fd, TIOCMSDTRWAIT, &dtrwait) < 0) {