/freebsd/crypto/openssh/ |
H A D | sshpty.c | 106 fd = open(_PATH_TTY, O_RDWR | O_NOCTTY); in pty_make_controlling_tty() 119 fd = open(_PATH_TTY, O_RDWR | O_NOCTTY); in pty_make_controlling_tty() 141 fd = open(_PATH_TTY, O_WRONLY); in pty_make_controlling_tty() 227 if ((fd = open(_PATH_TTY, O_RDWR | O_NOCTTY)) >= 0) { in disconnect_controlling_tty()
|
H A D | readpass.c | 155 ttyfd = open(_PATH_TTY, O_RDWR); in read_passphrase() 166 debug_f("can't open %s: %s", _PATH_TTY, in read_passphrase()
|
H A D | defines.h | 485 #ifndef _PATH_TTY 486 # define _PATH_TTY "/dev/tty" macro
|
/freebsd/crypto/heimdal/appl/login/ |
H A D | login_locl.h | 105 #ifndef _PATH_TTY 106 #define _PATH_TTY "/dev/tty" macro
|
/freebsd/lib/libc/gen/ |
H A D | ctermid.c | 54 strcpy(s, _PATH_TTY); in __ssp_real() 58 if (stat(_PATH_TTY, &sb) == 0 && S_ISCHR(sb.st_mode)) in __ssp_real()
|
H A D | readpassphrase.c | 70 input = output = _open(_PATH_TTY, O_RDWR | O_CLOEXEC); in readpassphrase()
|
/freebsd/crypto/heimdal/appl/telnet/telnetd/ |
H A D | telnetd.h | 223 #ifndef _PATH_TTY 224 #define _PATH_TTY "/dev/tty" macro
|
/freebsd/contrib/libfido2/openbsd-compat/ |
H A D | readpassphrase.c | 41 #ifndef _PATH_TTY 42 # define _PATH_TTY "/dev/tty" macro 84 (input = output = open(_PATH_TTY, O_RDWR)) == -1) { in readpassphrase()
|
/freebsd/contrib/libarchive/libarchive_fe/ |
H A D | passphrase.c | 135 #ifndef _PATH_TTY 136 #define _PATH_TTY "/dev/tty" 194 (input = output = open(_PATH_TTY, O_RDWR)) == -1) { in readpassphrase() 138 #define _PATH_TTY global() macro
|
/freebsd/usr.sbin/fdwrite/ |
H A D | fdwrite.c | 110 tty = fopen(_PATH_TTY,"r+"); in main() 112 err(1, _PATH_TTY); in main()
|
/freebsd/sbin/dump/ |
H A D | optr.c | 77 if ((mytty = fopen(_PATH_TTY, "r")) == NULL) in query() 78 quit("fopen on %s fails: %s\n", _PATH_TTY, strerror(errno)); in query()
|
/freebsd/include/ |
H A D | paths.h | 91 #define _PATH_TTY "/dev/tty" macro
|
/freebsd/contrib/nvi/common/ |
H A D | main.c | 558 if ((fd = open(_PATH_TTY, O_RDONLY, 0)) < 0) { in attach() 559 warn("%s", _PATH_TTY); in attach()
|
/freebsd/crypto/openssh/openbsd-compat/ |
H A D | bsd-openpty.c | 169 if (junk_ptyfd == -1 && (fd = open(_PATH_TTY, O_RDWR|O_NOCTTY)) >= 0) { in openpty()
|
H A D | readpassphrase.c | 80 (input = output = open(_PATH_TTY, O_RDWR)) == -1) { in readpassphrase()
|
/freebsd/usr.bin/xargs/ |
H A D | xargs.c | 600 if ((fd = open(_PATH_TTY, O_RDONLY)) == -1) in run() 778 if ((ttyfp = fopen(_PATH_TTY, "r")) == NULL) in prompt()
|
/freebsd/usr.sbin/ppp/ |
H A D | main.c | 344 if (open(_PATH_TTY, O_RDONLY) != STDIN_FILENO) { in main() 345 fprintf(stderr, "Cannot open %s for input !\n", _PATH_TTY); in main()
|
/freebsd/contrib/netbsd-tests/include/ |
H A D | t_paths.c | 97 { _PATH_TTY, PATH_DEV },
|
/freebsd/usr.sbin/rpc.ypxfrd/ |
H A D | ypxfrd_main.c | 245 i = open(_PATH_TTY, 2); in main()
|
/freebsd/usr.bin/login/ |
H A D | login.c | 165 char tname[sizeof(_PATH_TTY) + 10]; in main() 246 (void)snprintf(tname, sizeof(tname), "%s??", _PATH_TTY); in main()
|
/freebsd/usr.bin/patch/ |
H A D | util.c | 280 ttyfd = open(_PATH_TTY, O_RDONLY); in ask()
|
/freebsd/contrib/nvi/cl/ |
H A D | cl_main.c | 204 } else if ((fd = open(_PATH_TTY, O_RDONLY, 0)) != -1) { in cl_init()
|
/freebsd/usr.sbin/watch/ |
H A D | watch.c | 236 sprintf(buf, "%s%s", _PATH_TTY, name); in set_dev()
|
/freebsd/bin/ps/ |
H A D | ps.c | 884 if (strncmp(pathbuf, _PATH_TTY, strlen(_PATH_TTY)) == 0) in addelem_tty() 891 strlcpy(pathbuf2, _PATH_TTY, sizeof(pathbuf2)); in addelem_tty()
|
/freebsd/libexec/bootpd/bootpgw/ |
H A D | bootpgw.c | 354 n = open(_PATH_TTY, O_RDWR); in main()
|