Lines Matching defs:tty
73 #define SYSCTL_NAME_TTY "dev.uhso.%d.port.%s.tty"
1018 * Attempts to find a list of control tty for the interface
1135 do_connect(struct ctx *ctx, const char *tty)
1143 fprintf(stderr, "Attempting to open %s\n", tty);
1146 ctx->fd = open(tty, O_RDWR);
1149 fprintf(stderr, "Failed to open %s\n", tty);
1163 warnx("failed to read from device %s", tty);
1350 "[-k password] [-r resolvpath] [-f tty] interface\n", exec);
1364 char *tty = NULL;
1425 tty = argv[optind - 1];
1470 if (tty != NULL) {
1471 error = do_connect(&ctx, tty);
1473 errx(1, "Failed to open %s", tty);
1483 fprintf(stderr, "tty list:\n");
1492 tty = *p;
1519 do_connect(&ctx, tty);