Home
last modified time | relevance | path

Searched refs:_PATH_TTY (Results 1 – 25 of 36) sorted by relevance

12

/freebsd-13.1/crypto/openssh/
H A Dsshpty.c106 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 Dreadpass.c154 ttyfd = open(_PATH_TTY, O_RDWR); in read_passphrase()
165 debug_f("can't open %s: %s", _PATH_TTY, in read_passphrase()
H A Ddefines.h483 #ifndef _PATH_TTY
484 # define _PATH_TTY "/dev/tty" macro
/freebsd-13.1/lib/libc/gen/
H A Dctermid.c56 strcpy(s, _PATH_TTY); in ctermid()
60 if (stat(_PATH_TTY, &sb) == 0 && S_ISCHR(sb.st_mode)) in ctermid()
H A Dreadpassphrase.c73 input = output = _open(_PATH_TTY, O_RDWR | O_CLOEXEC); in readpassphrase()
/freebsd-13.1/crypto/heimdal/appl/login/
H A Dlogin_locl.h105 #ifndef _PATH_TTY
106 #define _PATH_TTY "/dev/tty" macro
/freebsd-13.1/crypto/heimdal/appl/telnet/telnetd/
H A Dtelnetd.h223 #ifndef _PATH_TTY
224 #define _PATH_TTY "/dev/tty" macro
/freebsd-13.1/contrib/libfido2/openbsd-compat/
H A Dreadpassphrase.c41 #ifndef _PATH_TTY
42 # define _PATH_TTY "/dev/tty" macro
84 (input = output = open(_PATH_TTY, O_RDWR)) == -1) { in readpassphrase()
/freebsd-13.1/contrib/libarchive/libarchive_fe/
H A Dpassphrase.c137 #ifndef _PATH_TTY
138 #define _PATH_TTY "/dev/tty" macro
194 (input = output = open(_PATH_TTY, O_RDWR)) == -1) { in readpassphrase()
/freebsd-13.1/contrib/telnet/telnetd/
H A Dpathnames.h43 # define _PATH_TTY "/dev/tty" macro
/freebsd-13.1/usr.sbin/fdwrite/
H A Dfdwrite.c113 tty = fopen(_PATH_TTY,"r+"); in main()
115 err(1, _PATH_TTY); in main()
/freebsd-13.1/include/
H A Dpaths.h95 #define _PATH_TTY "/dev/tty" macro
/freebsd-13.1/sbin/dump/
H A Doptr.c85 if ((mytty = fopen(_PATH_TTY, "r")) == NULL) in query()
86 quit("fopen on %s fails: %s\n", _PATH_TTY, strerror(errno)); in query()
/freebsd-13.1/usr.sbin/cron/lib/
H A Dcompat.c101 if ((fd = open(_PATH_TTY, 2)) >= 0) in setsid()
/freebsd-13.1/contrib/nvi/common/
H A Dmain.c559 if ((fd = open(_PATH_TTY, O_RDONLY, 0)) < 0) { in attach()
560 warn("%s", _PATH_TTY); in attach()
/freebsd-13.1/usr.sbin/ppp/
H A Dmain.c346 if (open(_PATH_TTY, O_RDONLY) != STDIN_FILENO) { in main()
347 fprintf(stderr, "Cannot open %s for input !\n", _PATH_TTY); in main()
/freebsd-13.1/usr.bin/xargs/
H A Dxargs.c602 if ((fd = open(_PATH_TTY, O_RDONLY)) == -1) in run()
780 if ((ttyfp = fopen(_PATH_TTY, "r")) == NULL) in prompt()
/freebsd-13.1/crypto/openssh/openbsd-compat/
H A Dreadpassphrase.c80 (input = output = open(_PATH_TTY, O_RDWR)) == -1) { in readpassphrase()
/freebsd-13.1/usr.sbin/rpc.ypxfrd/
H A Dypxfrd_main.c248 i = open(_PATH_TTY, 2); in main()
/freebsd-13.1/contrib/netbsd-tests/include/
H A Dt_paths.c97 { _PATH_TTY, PATH_DEV },
/freebsd-13.1/usr.bin/login/
H A Dlogin.c171 char tname[sizeof(_PATH_TTY) + 10]; in main()
252 (void)snprintf(tname, sizeof(tname), "%s??", _PATH_TTY); in main()
/freebsd-13.1/contrib/nvi/cl/
H A Dcl_main.c204 } else if ((fd = open(_PATH_TTY, O_RDONLY, 0)) != -1) { in cl_init()
/freebsd-13.1/usr.bin/patch/
H A Dutil.c281 ttyfd = open(_PATH_TTY, O_RDONLY); in ask()
/freebsd-13.1/usr.sbin/watch/
H A Dwatch.c239 sprintf(buf, "%s%s", _PATH_TTY, name); in set_dev()
/freebsd-13.1/bin/ps/
H A Dps.c878 if (strncmp(pathbuf, _PATH_TTY, strlen(_PATH_TTY)) == 0) in addelem_tty()
885 strlcpy(pathbuf2, _PATH_TTY, sizeof(pathbuf2)); in addelem_tty()

12