Searched refs:devnr (Results 1 - 2 of 2) sorted by relevance

/systemd/src/tty-ask-password-agent/
H A Dtty-ask-password-agent.c398 dev_t devnr; local
401 r = get_ctty_devnr(0, &devnr);
407 if (asprintf(&p, "/run/systemd/ask-password-block/%u:%u", major(devnr), minor(devnr)) < 0)
/systemd/src/basic/
H A Dterminal-util.c940 dev_t devnr; local
945 k = get_ctty_devnr(pid, &devnr);
949 sprintf(fn, "/dev/char/%u:%u", major(devnr), minor(devnr));
958 if (major(devnr) == 136) {
959 if (asprintf(&b, "pts/%u", minor(devnr)) < 0)
985 *_devnr = devnr;

Completed in 1859 milliseconds