Lines Matching refs:devnam
171 devnam},
327 strlcpy(devnam, cp, sizeof(devnam));
427 strlcpy(devnam, p, sizeof(devnam)); in tty_process_extra_options()
428 if (stat(devnam, &devstat) < 0) in tty_process_extra_options()
429 fatal("Couldn't stat default device %s: %m", devnam); in tty_process_extra_options()
531 strlcpy(ppp_devnam, devnam, sizeof(ppp_devnam)); in connect_tty()
549 if (lock(devnam) < 0) in connect_tty()
563 if (devnam[0] != 0) { in connect_tty()
572 devnam); in connect_tty()
576 real_ttyfd = open(devnam, O_NONBLOCK | O_RDWR, 0); in connect_tty()
584 error("Failed to open %s: %m", devnam); in connect_tty()
605 warn("Couldn't restrict write permissions to %s: %m", devnam); in connect_tty()
727 if (connector == NULL && modem && devnam[0] != 0) { in connect_tty()
730 if ((i = open(devnam, O_RDWR)) >= 0) in connect_tty()
733 error("Failed to reopen %s: %m", devnam); in connect_tty()