Searched refs:_PATH_TTY (Results 1 – 5 of 5) sorted by relevance
105 fd = open(_PATH_TTY, O_RDWR | O_NOCTTY); in pty_make_controlling_tty()118 fd = open(_PATH_TTY, O_RDWR | O_NOCTTY); in pty_make_controlling_tty()140 fd = open(_PATH_TTY, O_WRONLY); in pty_make_controlling_tty()226 if ((fd = open(_PATH_TTY, O_RDWR | O_NOCTTY)) >= 0) { in disconnect_controlling_tty()
139 ttyfd = open(_PATH_TTY, O_RDWR); in read_passphrase()150 debug("read_passphrase: can't open %s: %s", _PATH_TTY, in read_passphrase()
477 #ifndef _PATH_TTY478 # define _PATH_TTY "/dev/tty" macro
1712 if ((fd = open(_PATH_TTY, O_RDONLY | O_NOCTTY)) >= 0) { in daemonized()
80 (input = output = open(_PATH_TTY, O_RDWR)) == -1) { in readpassphrase()