| /freebsd-12.1/contrib/gcclibs/libssp/ |
| H A D | ssp.c | 52 #ifndef _PATH_TTY 53 # define _PATH_TTY "/dev/tty" macro 102 fd = open (_PATH_TTY, O_WRONLY); in fail()
|
| /freebsd-12.1/crypto/openssh/ |
| H A D | sshpty.c | 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() 224 if ((fd = open(_PATH_TTY, O_RDWR | O_NOCTTY)) >= 0) { in disconnect_controlling_tty()
|
| H A D | readpass.c | 133 ttyfd = open(_PATH_TTY, O_RDWR); in read_passphrase() 137 debug("read_passphrase: can't open %s: %s", _PATH_TTY, in read_passphrase()
|
| H A D | defines.h | 453 #ifndef _PATH_TTY 454 # define _PATH_TTY "/dev/tty" macro
|
| /freebsd-12.1/lib/libc/gen/ |
| H A D | ctermid.c | 56 strcpy(s, _PATH_TTY); in ctermid() 60 if (stat(_PATH_TTY, &sb) == 0 && S_ISCHR(sb.st_mode)) in ctermid()
|
| H A D | readpassphrase.c | 73 input = output = _open(_PATH_TTY, O_RDWR | O_CLOEXEC); in readpassphrase()
|
| /freebsd-12.1/crypto/heimdal/appl/login/ |
| H A D | login_locl.h | 105 #ifndef _PATH_TTY 106 #define _PATH_TTY "/dev/tty" macro
|
| /freebsd-12.1/crypto/heimdal/appl/telnet/telnetd/ |
| H A D | telnetd.h | 223 #ifndef _PATH_TTY 224 #define _PATH_TTY "/dev/tty" macro
|
| /freebsd-12.1/contrib/libarchive/libarchive_fe/ |
| H A D | passphrase.c | 137 #ifndef _PATH_TTY 138 #define _PATH_TTY "/dev/tty" macro 194 (input = output = open(_PATH_TTY, O_RDWR)) == -1) { in readpassphrase()
|
| /freebsd-12.1/contrib/telnet/telnetd/ |
| H A D | pathnames.h | 43 # define _PATH_TTY "/dev/tty" macro
|
| /freebsd-12.1/usr.sbin/fdwrite/ |
| H A D | fdwrite.c | 113 tty = fopen(_PATH_TTY,"r+"); in main() 115 err(1, _PATH_TTY); in main()
|
| /freebsd-12.1/include/ |
| H A D | paths.h | 92 #define _PATH_TTY "/dev/tty" macro
|
| /freebsd-12.1/sbin/dump/ |
| H A D | optr.c | 85 if ((mytty = fopen(_PATH_TTY, "r")) == NULL) in query() 86 quit("fopen on %s fails: %s\n", _PATH_TTY, strerror(errno)); in query()
|
| /freebsd-12.1/usr.sbin/cron/lib/ |
| H A D | compat.c | 113 if ((fd = open(_PATH_TTY, 2)) >= 0) in setsid()
|
| /freebsd-12.1/contrib/nvi/common/ |
| H A D | main.c | 576 if ((fd = open(_PATH_TTY, O_RDONLY, 0)) < 0) { in attach() 577 v_estr(gp->progname, errno, _PATH_TTY); in attach()
|
| /freebsd-12.1/usr.bin/xargs/ |
| H A D | xargs.c | 585 if ((fd = open(_PATH_TTY, O_RDONLY)) == -1) in run() 763 if ((ttyfp = fopen(_PATH_TTY, "r")) == NULL) in prompt()
|
| /freebsd-12.1/usr.sbin/ppp/ |
| H A D | main.c | 346 if (open(_PATH_TTY, O_RDONLY) != STDIN_FILENO) { in main() 347 fprintf(stderr, "Cannot open %s for input !\n", _PATH_TTY); in main()
|
| /freebsd-12.1/usr.sbin/rpc.ypxfrd/ |
| H A D | ypxfrd_main.c | 246 i = open(_PATH_TTY, 2); in main()
|
| /freebsd-12.1/crypto/openssh/openbsd-compat/ |
| H A D | readpassphrase.c | 80 (input = output = open(_PATH_TTY, O_RDWR)) == -1) { in readpassphrase()
|
| /freebsd-12.1/contrib/netbsd-tests/include/ |
| H A D | t_paths.c | 97 { _PATH_TTY, PATH_DEV },
|
| /freebsd-12.1/usr.bin/login/ |
| H A D | login.c | 171 char tname[sizeof(_PATH_TTY) + 10]; in main() 252 (void)snprintf(tname, sizeof(tname), "%s??", _PATH_TTY); in main()
|
| /freebsd-12.1/usr.bin/patch/ |
| H A D | util.c | 281 ttyfd = open(_PATH_TTY, O_RDONLY); in ask()
|
| /freebsd-12.1/bin/ps/ |
| H A D | ps.c | 870 if (strncmp(pathbuf, _PATH_TTY, strlen(_PATH_TTY)) == 0) in addelem_tty() 877 strlcpy(pathbuf2, _PATH_TTY, sizeof(pathbuf2)); in addelem_tty()
|
| /freebsd-12.1/usr.sbin/watch/ |
| H A D | watch.c | 239 sprintf(buf, "%s%s", _PATH_TTY, name); in set_dev()
|
| /freebsd-12.1/contrib/nvi/cl/ |
| H A D | cl_main.c | 217 } else if ((fd = open(_PATH_TTY, O_RDONLY, 0)) != -1) { in cl_init()
|