Home
last modified time | relevance | path

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

12

/netbsd-src/external/gpl3/gcc.old/dist/libssp/
H A Dssp.c54 #ifndef _PATH_TTY
60 # define _PATH_TTY "CONOUT$" macro
62 # define _PATH_TTY "/dev/tty" macro
124 fd = open (_PATH_TTY, O_WRONLY); in fail()
/netbsd-src/external/gpl3/gcc/dist/libssp/
H A Dssp.c54 #ifndef _PATH_TTY
60 # define _PATH_TTY "CONOUT$" macro
62 # define _PATH_TTY "/dev/tty" macro
124 fd = open (_PATH_TTY, O_WRONLY); in fail()
/netbsd-src/crypto/external/bsd/openssh/dist/
H A Dsshpty.c82 fd = open(_PATH_TTY, O_RDWR | O_NOCTTY); in pty_make_controlling_tty()
95 fd = open(_PATH_TTY, O_RDWR | O_NOCTTY); in pty_make_controlling_tty()
113 fd = open(_PATH_TTY, O_WRONLY); in pty_make_controlling_tty()
194 if ((fd = open(_PATH_TTY, O_RDWR | O_NOCTTY)) >= 0) { in disconnect_controlling_tty()
H A Dreadpass.c156 ttyfd = open(_PATH_TTY, O_RDWR); in read_passphrase()
167 debug_f("can't open %s: %s", _PATH_TTY, in read_passphrase()
H A Dreadpassphrase.c84 if ((input = output = open(_PATH_TTY, O_RDWR)) == -1) {
/netbsd-src/external/bsd/nvi/usr.bin/nvi/
H A Dpathnames.h47 #ifndef _PATH_TTY
48 #define _PATH_TTY "/dev/tty" macro
/netbsd-src/external/bsd/pam-u2f/dist/pamu2fcfg/
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()
/netbsd-src/external/bsd/libfido2/dist/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()
/netbsd-src/external/bsd/nvi/dist/dist/
H A Dpathnames.h.in47 #ifndef _PATH_TTY
48 #define _PATH_TTY "/dev/tty" macro
/netbsd-src/external/bsd/libarchive/dist/libarchive_fe/
H A Dpassphrase.c135 #ifndef _PATH_TTY
136 #define _PATH_TTY "/dev/tty" macro
194 (input = output = open(_PATH_TTY, O_RDWR)) == -1) { in readpassphrase()
/netbsd-src/external/bsd/nvi/dist/ipc/
H A Dip_run.c265 if ((fd = open(_PATH_TTY, O_RDONLY, 0)) < 0) { in attach()
267 "%s: %s, %s\n", vi_progname, _PATH_TTY, strerror(errno)); in attach()
/netbsd-src/lib/libc/gen/
H A Dctermid.c53 static char def[] = _PATH_TTY; in __weak_alias()
H A Dgetpass.c110 if ((fd[0] = fd[1] = fd[2] = open(_PATH_TTY, in __weak_alias()
/netbsd-src/include/
H A Dpaths.h98 #define _PATH_TTY "/dev/tty" macro
/netbsd-src/external/bsd/nvi/dist/common/
H A Dmain.c510 if ((fd = open(_PATH_TTY, O_RDONLY, 0)) < 0) { in attach()
511 v_estr(gp->progname, errno, _PATH_TTY); in attach()
/netbsd-src/usr.bin/find/
H A Dmisc.c154 ttyfd = open(_PATH_TTY, O_RDWR | O_CLOEXEC); in show_path()
/netbsd-src/sbin/dump/
H A Doptr.c96 if ((mytty = fopen(_PATH_TTY, "r")) == NULL) in query()
97 quite(errno, "fopen on %s fails", _PATH_TTY); in query()
/netbsd-src/usr.bin/xargs/
H A Dxargs.c555 if ((fd = open(_PATH_TTY, O_RDONLY)) == -1) in run()
628 if ((ttyfp = fopen(_PATH_TTY, "r")) == NULL) in prompt()
/netbsd-src/bin/ksh/
H A Dtty.c104 const char *devtty = _PATH_TTY;
/netbsd-src/distrib/utils/more/
H A Dos.c118 if (open(_PATH_TTY, O_RDONLY, 0) < 0)
/netbsd-src/usr.bin/login/
H A Dlogin_pam.c111 char tbuf[MAXPATHLEN + 2], tname[sizeof(_PATH_TTY) + 10]; in main()
208 (void)snprintf(tname, sizeof(tname), "%s??", _PATH_TTY); in main()
H A Dlogin.c149 char tbuf[MAXPATHLEN + 2], tname[sizeof(_PATH_TTY) + 10]; in main()
268 (void)snprintf(tname, sizeof(tname), "%s??", _PATH_TTY); in main()
/netbsd-src/tests/include/
H A Dt_paths.c97 { _PATH_TTY, PATH_DEV },
/netbsd-src/usr.bin/error/
H A Dmain.c77 static char im_on[] = _PATH_TTY; /* my tty name */
/netbsd-src/usr.bin/patch/
H A Dutil.c270 ttyfd = open(_PATH_TTY, O_RDONLY); in ask()

12