Symbol: _PATH_TTY
bin/ps/ps.c
267
"%s%s", _PATH_TTY, optarg);
bin/sh/jobs.c
188
if ((ttyfd = open(_PATH_TTY, O_RDWR | O_CLOEXEC_MAYBE)) < 0) {
crypto/openssh/defines.h
485
#ifndef _PATH_TTY
crypto/openssh/misc.c
2026
if ((fd = open(_PATH_TTY, O_RDONLY | O_NOCTTY)) >= 0) {
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) {
games/hunt/huntd/driver.c
1095
if ((tty = open(_PATH_TTY, O_WRONLY)) >= 0) {
lib/libc/gen/ctermid.c
42
static char def[] = _PATH_TTY;
lib/libc/gen/ctermid.c
45
bcopy(def, s, sizeof(_PATH_TTY));
lib/libc/gen/readpassphrase.c
70
input = output = _open(_PATH_TTY, O_RDWR | O_CLOEXEC);
libexec/bootpd/bootpd.c
389
n = open(_PATH_TTY, O_RDWR);
libexec/bootpd/bootpgw/bootpgw.c
360
n = open(_PATH_TTY, O_RDWR);
libexec/telnetd/sys_term.c
871
t = open(_PATH_TTY, O_RDWR);
libexec/telnetd/telnetd.c
850
t = 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
134
terminal = fopen(_PATH_TTY, "r");
sbin/restore/tape.c
137
_PATH_TTY, strerror(errno));
usr.bin/login/login.c
159
char tname[sizeof(_PATH_TTY) + 10];
usr.bin/login/login.c
235
snprintf(tname, sizeof(tname), "%s??", _PATH_TTY);
usr.bin/patch/util.c
281
ttyfd = open(_PATH_TTY, O_RDONLY);
usr.bin/xargs/xargs.c
616
if ((fd = open(_PATH_TTY, O_RDONLY)) == -1)
usr.bin/xargs/xargs.c
801
if ((ttyfp = fopen(_PATH_TTY, "r")) == NULL)
usr.sbin/cron/lib/compat.c
109
if ((fd = open(_PATH_TTY, 2)) >= 0)
usr.sbin/fdwrite/fdwrite.c
115
tty = fopen(_PATH_TTY,"r+");
usr.sbin/fdwrite/fdwrite.c
117
err(1, _PATH_TTY);
usr.sbin/ppp/chat.c
741
if (open(_PATH_TTY, O_RDWR) != 3)
usr.sbin/ppp/main.c
343
if (open(_PATH_TTY, O_RDONLY) != STDIN_FILENO) {
usr.sbin/ppp/main.c
344
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/sliplogin/sliplogin.c
361
char devnam[MAXPATHLEN] = _PATH_TTY; /* Device name */
usr.sbin/watch/watch.c
241
sprintf(buf, "%s%s", _PATH_TTY, name);