Symbol: _PATH_TTY
bin/ps/ps.c
944
if (strncmp(pathbuf, _PATH_TTY, strlen(_PATH_TTY)) == 0)
bin/ps/ps.c
951
strlcpy(pathbuf2, _PATH_TTY, sizeof(pathbuf2));
bin/sh/jobs.c
182
if ((ttyfd = open(_PATH_TTY, O_RDWR | O_CLOEXEC)) < 0) {
crypto/heimdal/appl/login/login.c
704
snprintf(ttname, sizeof(ttname), "%s??", _PATH_TTY);
crypto/heimdal/appl/login/login_locl.h
105
#ifndef _PATH_TTY
crypto/heimdal/appl/telnet/telnetd/sys_term.c
838
t = open(_PATH_TTY, O_RDWR);
crypto/heimdal/appl/telnet/telnetd/telnetd.c
957
t = open(_PATH_TTY, O_RDWR);
crypto/heimdal/appl/telnet/telnetd/telnetd.h
223
#ifndef _PATH_TTY
crypto/openssh/defines.h
487
#ifndef _PATH_TTY
crypto/openssh/misc.c
2047
if ((fd = open(_PATH_TTY, O_RDONLY | O_NOCTTY)) >= 0) {
crypto/openssh/openbsd-compat/bsd-openpty.c
169
if (junk_ptyfd == -1 && (fd = open(_PATH_TTY, O_RDWR|O_NOCTTY)) >= 0) {
crypto/openssh/openbsd-compat/readpassphrase.c
80
(input = output = open(_PATH_TTY, O_RDWR)) == -1) {
crypto/openssh/readpass.c
155
ttyfd = open(_PATH_TTY, O_RDWR);
crypto/openssh/readpass.c
166
debug_f("can't open %s: %s", _PATH_TTY,
crypto/openssh/sshpty.c
106
fd = open(_PATH_TTY, O_RDWR | O_NOCTTY);
crypto/openssh/sshpty.c
119
fd = open(_PATH_TTY, O_RDWR | O_NOCTTY);
crypto/openssh/sshpty.c
141
fd = open(_PATH_TTY, O_WRONLY);
crypto/openssh/sshpty.c
227
if ((fd = open(_PATH_TTY, O_RDWR | O_NOCTTY)) >= 0) {
lib/libc/gen/ctermid.c
54
strcpy(s, _PATH_TTY);
lib/libc/gen/ctermid.c
58
if (stat(_PATH_TTY, &sb) == 0 && S_ISCHR(sb.st_mode))
lib/libc/gen/readpassphrase.c
70
input = output = _open(_PATH_TTY, O_RDWR | O_CLOEXEC);
libexec/bootpd/bootpd.c
384
n = open(_PATH_TTY, O_RDWR);
libexec/bootpd/bootpgw/bootpgw.c
354
n = open(_PATH_TTY, O_RDWR);
sbin/dump/optr.c
77
if ((mytty = fopen(_PATH_TTY, "r")) == NULL)
sbin/dump/optr.c
78
quit("fopen on %s fails: %s\n", _PATH_TTY, strerror(errno));
sbin/restore/tape.c
149
terminal = fopen(_PATH_TTY, "r");
sbin/restore/tape.c
152
_PATH_TTY, strerror(errno));
usr.bin/login/login.c
165
char tname[sizeof(_PATH_TTY) + 10];
usr.bin/login/login.c
246
(void)snprintf(tname, sizeof(tname), "%s??", _PATH_TTY);
usr.bin/patch/util.c
280
ttyfd = open(_PATH_TTY, O_RDONLY);
usr.bin/xargs/xargs.c
600
if ((fd = open(_PATH_TTY, O_RDONLY)) == -1)
usr.bin/xargs/xargs.c
778
if ((ttyfp = fopen(_PATH_TTY, "r")) == NULL)
usr.sbin/fdwrite/fdwrite.c
110
tty = fopen(_PATH_TTY,"r+");
usr.sbin/fdwrite/fdwrite.c
112
err(1, _PATH_TTY);
usr.sbin/ppp/chat.c
746
if (open(_PATH_TTY, O_RDWR) != 3)
usr.sbin/ppp/main.c
344
if (open(_PATH_TTY, O_RDONLY) != STDIN_FILENO) {
usr.sbin/ppp/main.c
345
fprintf(stderr, "Cannot open %s for input !\n", _PATH_TTY);
usr.sbin/rpc.ypxfrd/ypxfrd_main.c
245
i = open(_PATH_TTY, 2);
usr.sbin/watch/watch.c
236
sprintf(buf, "%s%s", _PATH_TTY, name);