| /openbsd-src/usr.bin/ssh/ |
| H A D | sshpty.c | 79 fd = open(_PATH_TTY, O_RDWR | O_NOCTTY); in pty_make_controlling_tty() 92 fd = open(_PATH_TTY, O_RDWR | O_NOCTTY); in pty_make_controlling_tty() 110 fd = open(_PATH_TTY, O_WRONLY); in pty_make_controlling_tty() 191 if ((fd = open(_PATH_TTY, O_RDWR | O_NOCTTY)) >= 0) { in disconnect_controlling_tty()
|
| H A D | readpass.c | 152 ttyfd = open(_PATH_TTY, O_RDWR); in read_passphrase() 163 debug_f("can't open %s: %s", _PATH_TTY, in read_passphrase()
|
| H A D | misc.c | 1952 if ((fd = open(_PATH_TTY, O_RDONLY | O_NOCTTY)) >= 0) { in argv_split()
|
| /openbsd-src/gnu/gcc/libssp/ |
| H A D | ssp.c | 52 #ifndef _PATH_TTY 53 # define _PATH_TTY "/dev/tty" macro 100 fd = open (_PATH_TTY, O_WRONLY); in fail()
|
| /openbsd-src/lib/libc/gen/ |
| H A D | ctermid.c | 38 static char def[] = _PATH_TTY; in ctermid() 41 bcopy(def, s, sizeof(_PATH_TTY)); in ctermid()
|
| H A D | readpassphrase.c | 66 (input = output = open(_PATH_TTY, O_RDWR)) == -1) { in readpassphrase()
|
| /openbsd-src/include/ |
| H A D | paths.h | 65 #define _PATH_TTY "/dev/tty" macro
|
| /openbsd-src/sbin/dump/ |
| H A D | optr.c | 83 if ((mytty = fopen(_PATH_TTY, "r")) == NULL) in query() 84 quit("fopen on %s fails: %s\n", _PATH_TTY, strerror(errno)); in query()
|
| /openbsd-src/usr.bin/xargs/ |
| H A D | xargs.c | 538 if ((fd = open(_PATH_TTY, O_RDONLY)) == -1) { in run() 613 if ((ttyfp = fopen(_PATH_TTY, "r")) == NULL) in prompt()
|
| /openbsd-src/usr.bin/vi/common/ |
| H A D | main.c | 581 if ((fd = open(_PATH_TTY, O_RDONLY)) < 0) { in attach() 582 warn("%s", _PATH_TTY); in attach()
|
| /openbsd-src/usr.bin/vi/cl/ |
| H A D | cl_main.c | 186 } else if ((fd = open(_PATH_TTY, O_RDONLY)) != -1) { in cl_init()
|
| /openbsd-src/usr.bin/patch/ |
| H A D | util.c | 268 ttyfd = open(_PATH_TTY, O_RDONLY); in ask()
|
| H A D | patch.c | 246 if (unveil(_PATH_TTY, "r") == -1) { in main()
|
| /openbsd-src/usr.bin/login/ |
| H A D | login.c | 143 char tbuf[PATH_MAX + 2], tname[sizeof(_PATH_TTY) + 10]; in main() 295 (void)snprintf(tname, sizeof(tname), "%s??", _PATH_TTY); in main()
|
| /openbsd-src/bin/ps/ |
| H A D | ps.c | 216 _PATH_TTY, optarg); in main()
|
| /openbsd-src/sbin/restore/ |
| H A D | tape.c | 160 terminal = fopen(_PATH_TTY, "r"); in setinput() 162 warn("cannot open %s", _PATH_TTY); in setinput()
|
| /openbsd-src/sbin/fsck_ffs/ |
| H A D | utilities.c | 643 info_fd = open(_PATH_TTY, O_WRONLY); in catchinfo()
|
| /openbsd-src/usr.bin/tmux/ |
| H A D | server-client.c | 325 const char *ttynam = _PATH_TTY; in server_client_open()
|