Symbol: _PATH_TTY
bin/ksh/tty.c
104
const char *devtty = _PATH_TTY;
bin/ps/ps.c
175
sizeof(pathbuf), "%s%s", _PATH_TTY, ttname);
bin/rcp/rcp.c
834
ttyfd = open(_PATH_TTY, O_RDWR | O_CLOEXEC);
distrib/utils/more/os.c
118
if (open(_PATH_TTY, O_RDONLY, 0) < 0)
lib/libc/gen/ctermid.c
53
static char def[] = _PATH_TTY;
lib/libc/gen/getpass.c
110
if ((fd[0] = fd[1] = fd[2] = open(_PATH_TTY,
libexec/rshd/rshd.c
284
int t = open(_PATH_TTY, O_RDWR);
libexec/telnetd/sys_term.c
454
t = open(_PATH_TTY, O_RDWR);
libexec/telnetd/telnetd.c
884
t = open(_PATH_TTY, O_RDWR);
sbin/dump/optr.c
96
if ((mytty = fopen(_PATH_TTY, "r")) == NULL)
sbin/dump/optr.c
97
quite(errno, "fopen on %s fails", _PATH_TTY);
sbin/restore/tape.c
253
terminal = fopen(_PATH_TTY, "r");
sbin/restore/tape.c
256
_PATH_TTY, strerror(errno));
sbin/scan_ffs/scan_ffs.c
416
ttyfd = open(_PATH_TTY, O_RDWR | O_CLOEXEC);
tests/include/t_paths.c
97
{ _PATH_TTY, PATH_DEV },
usr.bin/error/main.c
77
static char im_on[] = _PATH_TTY; /* my tty name */
usr.bin/find/misc.c
154
ttyfd = open(_PATH_TTY, O_RDWR | O_CLOEXEC);
usr.bin/gzip/gzip.c
1774
ttyfd = open(_PATH_TTY, O_RDWR | O_CLOEXEC);
usr.bin/login/login.c
149
char tbuf[MAXPATHLEN + 2], tname[sizeof(_PATH_TTY) + 10];
usr.bin/login/login.c
268
(void)snprintf(tname, sizeof(tname), "%s??", _PATH_TTY);
usr.bin/login/login_pam.c
111
char tbuf[MAXPATHLEN + 2], tname[sizeof(_PATH_TTY) + 10];
usr.bin/login/login_pam.c
208
(void)snprintf(tname, sizeof(tname), "%s??", _PATH_TTY);
usr.bin/patch/util.c
270
ttyfd = open(_PATH_TTY, O_RDONLY);
usr.bin/pkill/pkill.c
651
prefix = _PATH_TTY;
usr.bin/xargs/xargs.c
555
if ((fd = open(_PATH_TTY, O_RDONLY)) == -1)
usr.bin/xargs/xargs.c
628
if ((ttyfp = fopen(_PATH_TTY, "r")) == NULL)