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

12

/freebsd-current/lib/libc/gen/
H A Dctermid.c53 strcpy(s, _PATH_TTY);
57 if (stat(_PATH_TTY, &sb) == 0 && S_ISCHR(sb.st_mode))
H A Dreadpassphrase.c70 input = output = _open(_PATH_TTY, O_RDWR | O_CLOEXEC);
/freebsd-current/crypto/heimdal/appl/login/
H A Dlogin_locl.h105 #ifndef _PATH_TTY
106 #define _PATH_TTY "/dev/tty" macro
H A Dlogin.c704 snprintf(ttname, sizeof(ttname), "%s??", _PATH_TTY);
/freebsd-current/crypto/openssh/
H A Dsshpty.c106 fd = open(_PATH_TTY, O_RDWR | O_NOCTTY);
119 fd = open(_PATH_TTY, O_RDWR | O_NOCTTY);
141 fd = open(_PATH_TTY, O_WRONLY);
227 if ((fd = open(_PATH_TTY, O_RDWR | O_NOCTTY)) >= 0) {
H A Dreadpass.c154 ttyfd = open(_PATH_TTY, O_RDWR);
165 debug_f("can't open %s: %s", _PATH_TTY,
H A Ddefines.h485 #ifndef _PATH_TTY
486 # define _PATH_TTY "/dev/tty" macro
/freebsd-current/contrib/libfido2/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) {
/freebsd-current/crypto/heimdal/appl/telnet/telnetd/
H A Dtelnetd.h223 #ifndef _PATH_TTY
224 #define _PATH_TTY "/dev/tty" macro
225 #endif /* _PATH_TTY */
/freebsd-current/include/
H A Dpaths.h91 #define _PATH_TTY "/dev/tty" macro
/freebsd-current/contrib/libarchive/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) {
/freebsd-current/usr.sbin/fdwrite/
H A Dfdwrite.c110 tty = fopen(_PATH_TTY,"r+");
112 err(1, _PATH_TTY);
/freebsd-current/crypto/openssh/openbsd-compat/
H A Dreadpassphrase.c80 (input = output = open(_PATH_TTY, O_RDWR)) == -1) {
H A Dbsd-openpty.c169 if (junk_ptyfd == -1 && (fd = open(_PATH_TTY, O_RDWR|O_NOCTTY)) >= 0) {
/freebsd-current/contrib/netbsd-tests/include/
H A Dt_paths.c97 { _PATH_TTY, PATH_DEV },
/freebsd-current/sbin/dump/
H A Doptr.c77 if ((mytty = fopen(_PATH_TTY, "r")) == NULL)
78 quit("fopen on %s fails: %s\n", _PATH_TTY, strerror(errno));
/freebsd-current/usr.sbin/ppp/
H A Dmain.c344 if (open(_PATH_TTY, O_RDONLY) != STDIN_FILENO) {
345 fprintf(stderr, "Cannot open %s for input !\n", _PATH_TTY);
/freebsd-current/contrib/nvi/common/
H A Dmain.c558 if ((fd = open(_PATH_TTY, O_RDONLY, 0)) < 0) {
559 warn("%s", _PATH_TTY);
/freebsd-current/contrib/nvi/cl/
H A Dcl_main.c204 } else if ((fd = open(_PATH_TTY, O_RDONLY, 0)) != -1) {
/freebsd-current/usr.bin/patch/
H A Dutil.c280 ttyfd = open(_PATH_TTY, O_RDONLY);
/freebsd-current/usr.sbin/rpc.ypxfrd/
H A Dypxfrd_main.c245 i = open(_PATH_TTY, 2);
/freebsd-current/usr.bin/login/
H A Dlogin.c165 char tname[sizeof(_PATH_TTY) + 10];
246 (void)snprintf(tname, sizeof(tname), "%s??", _PATH_TTY);
/freebsd-current/libexec/bootpd/bootpgw/
H A Dbootpgw.c356 n = open(_PATH_TTY, O_RDWR);
/freebsd-current/usr.sbin/watch/
H A Dwatch.c236 sprintf(buf, "%s%s", _PATH_TTY, name);
/freebsd-current/bin/ps/
H A Dps.c895 if (strncmp(pathbuf, _PATH_TTY, strlen(_PATH_TTY)) == 0)
902 strlcpy(pathbuf2, _PATH_TTY, sizeof(pathbuf2));

Completed in 189 milliseconds

12