Searched refs:_PATH_TTY (Results 1 – 5 of 5) sorted by relevance
139 fd = open(_PATH_TTY, O_RDWR | O_NOCTTY); in pty_make_controlling_tty()152 fd = open(_PATH_TTY, O_RDWR | O_NOCTTY); in pty_make_controlling_tty()174 fd = open(_PATH_TTY, O_WRONLY); in pty_make_controlling_tty()259 if ((fd = open(_PATH_TTY, O_RDWR | O_NOCTTY)) >= 0) { in disconnect_controlling_tty()
134 ttyfd = open(_PATH_TTY, O_RDWR); in read_passphrase()138 debug("read_passphrase: can't open %s: %s", _PATH_TTY, in read_passphrase()
455 #ifndef _PATH_TTY456 # define _PATH_TTY "/dev/tty" macro
1266 if ((fd = open(_PATH_TTY, O_RDONLY | O_NOCTTY)) >= 0) { in daemonized()
88 (input = output = open(_PATH_TTY, O_RDWR)) == -1) { in readpassphrase()