Lines Matching refs:tty
72 #define SYSCTL_NAME_TTY "dev.uhso.%d.port.%s.tty"
1016 * Attempts to find a list of control tty for the interface
1133 do_connect(struct ctx *ctx, const char *tty)
1141 fprintf(stderr, "Attempting to open %s\n", tty);
1144 ctx->fd = open(tty, O_RDWR);
1147 fprintf(stderr, "Failed to open %s\n", tty);
1161 warnx("failed to read from device %s", tty);
1348 "[-k password] [-r resolvpath] [-f tty] interface\n", exec);
1362 char *tty = NULL;
1423 tty = argv[optind - 1];
1468 if (tty != NULL) {
1469 error = do_connect(&ctx, tty);
1471 errx(1, "Failed to open %s", tty);
1481 fprintf(stderr, "tty list:\n");
1490 tty = *p;
1517 do_connect(&ctx, tty);