Searched refs:_PATH_TTY (Results 1 - 25 of 37) sorted by relevance

12

/freebsd-11-stable/contrib/telnet/telnetd/
H A Dpathnames.h43 # define _PATH_TTY "/dev/tty" macro
/freebsd-11-stable/lib/libc/gen/
H A Dctermid.c54 strcpy(s, _PATH_TTY);
58 if (stat(_PATH_TTY, &sb) == 0 && S_ISCHR(sb.st_mode))
H A Dreadpassphrase.c73 input = output = _open(_PATH_TTY, O_RDWR | O_CLOEXEC);
/freebsd-11-stable/contrib/gcclibs/libssp/
H A Dssp.c52 #ifndef _PATH_TTY
53 # define _PATH_TTY "/dev/tty" macro
102 fd = open (_PATH_TTY, O_WRONLY);
/freebsd-11-stable/crypto/heimdal/appl/login/
H A Dlogin_locl.h105 #ifndef _PATH_TTY
106 #define _PATH_TTY "/dev/tty" macro
/freebsd-11-stable/crypto/heimdal/appl/telnet/telnetd/
H A Dtelnetd.h223 #ifndef _PATH_TTY
224 #define _PATH_TTY "/dev/tty" macro
225 #endif /* _PATH_TTY */
/freebsd-11-stable/crypto/openssh/
H A Dsshpty.c129 fd = open(_PATH_TTY, O_RDWR | O_NOCTTY);
142 fd = open(_PATH_TTY, O_RDWR | O_NOCTTY);
164 fd = open(_PATH_TTY, O_WRONLY);
249 if ((fd = open(_PATH_TTY, O_RDWR | O_NOCTTY)) >= 0) {
H A Dreadpass.c134 ttyfd = open(_PATH_TTY, O_RDWR);
138 debug("read_passphrase: can't open %s: %s", _PATH_TTY,
H A Ddefines.h455 #ifndef _PATH_TTY
456 # define _PATH_TTY "/dev/tty" macro
/freebsd-11-stable/include/
H A Dpaths.h90 #define _PATH_TTY "/dev/tty" macro
/freebsd-11-stable/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) {
/freebsd-11-stable/usr.sbin/cron/lib/
H A Dcompat.c101 if ((fd = open(_PATH_TTY, 2)) >= 0)
/freebsd-11-stable/usr.sbin/fdwrite/
H A Dfdwrite.c111 tty = fopen(_PATH_TTY,"r+");
113 err(1, _PATH_TTY);
/freebsd-11-stable/crypto/openssh/openbsd-compat/
H A Dreadpassphrase.c88 (input = output = open(_PATH_TTY, O_RDWR)) == -1) {
/freebsd-11-stable/contrib/netbsd-tests/include/
H A Dt_paths.c97 { _PATH_TTY, PATH_DEV },
/freebsd-11-stable/sbin/dump/
H A Doptr.c83 if ((mytty = fopen(_PATH_TTY, "r")) == NULL)
84 quit("fopen on %s fails: %s\n", _PATH_TTY, strerror(errno));
/freebsd-11-stable/contrib/nvi/common/
H A Dmain.c576 if ((fd = open(_PATH_TTY, O_RDONLY, 0)) < 0) {
577 v_estr(gp->progname, errno, _PATH_TTY);
/freebsd-11-stable/usr.sbin/ppp/
H A Dmain.c346 if (open(_PATH_TTY, O_RDONLY) != STDIN_FILENO) {
347 fprintf(stderr, "Cannot open %s for input !\n", _PATH_TTY);
/freebsd-11-stable/usr.bin/patch/
H A Dutil.c281 ttyfd = open(_PATH_TTY, O_RDONLY);
/freebsd-11-stable/usr.sbin/rpc.ypxfrd/
H A Dypxfrd_main.c246 i = open(_PATH_TTY, 2);
/freebsd-11-stable/usr.bin/login/
H A Dlogin.c169 char tname[sizeof(_PATH_TTY) + 10];
250 (void)snprintf(tname, sizeof(tname), "%s??", _PATH_TTY);
/freebsd-11-stable/libexec/bootpd/bootpgw/
H A Dbootpgw.c365 n = open(_PATH_TTY, O_RDWR);
/freebsd-11-stable/contrib/nvi/cl/
H A Dcl_main.c217 } else if ((fd = open(_PATH_TTY, O_RDONLY, 0)) != -1) {
/freebsd-11-stable/usr.sbin/watch/
H A Dwatch.c241 sprintf(buf, "%s%s", _PATH_TTY, name);
/freebsd-11-stable/bin/ps/
H A Dps.c862 if (strncmp(pathbuf, _PATH_TTY, strlen(_PATH_TTY)) == 0)
869 strlcpy(pathbuf2, _PATH_TTY, sizeof(pathbuf2));

Completed in 172 milliseconds

12