Home
last modified time | relevance | path

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

/openbsd-src/usr.bin/ssh/
H A Dsshpty.c79 fd = open(_PATH_TTY, O_RDWR | O_NOCTTY); in pty_make_controlling_tty()
92 fd = open(_PATH_TTY, O_RDWR | O_NOCTTY); in pty_make_controlling_tty()
110 fd = open(_PATH_TTY, O_WRONLY); in pty_make_controlling_tty()
191 if ((fd = open(_PATH_TTY, O_RDWR | O_NOCTTY)) >= 0) { in disconnect_controlling_tty()
H A Dreadpass.c152 ttyfd = open(_PATH_TTY, O_RDWR); in read_passphrase()
163 debug_f("can't open %s: %s", _PATH_TTY, in read_passphrase()
H A Dmisc.c1952 if ((fd = open(_PATH_TTY, O_RDONLY | O_NOCTTY)) >= 0) { in argv_split()
/openbsd-src/gnu/gcc/libssp/
H A Dssp.c52 #ifndef _PATH_TTY
53 # define _PATH_TTY "/dev/tty" macro
100 fd = open (_PATH_TTY, O_WRONLY); in fail()
/openbsd-src/lib/libc/gen/
H A Dctermid.c38 static char def[] = _PATH_TTY; in ctermid()
41 bcopy(def, s, sizeof(_PATH_TTY)); in ctermid()
H A Dreadpassphrase.c66 (input = output = open(_PATH_TTY, O_RDWR)) == -1) { in readpassphrase()
/openbsd-src/include/
H A Dpaths.h65 #define _PATH_TTY "/dev/tty" macro
/openbsd-src/sbin/dump/
H A Doptr.c83 if ((mytty = fopen(_PATH_TTY, "r")) == NULL) in query()
84 quit("fopen on %s fails: %s\n", _PATH_TTY, strerror(errno)); in query()
/openbsd-src/usr.bin/xargs/
H A Dxargs.c538 if ((fd = open(_PATH_TTY, O_RDONLY)) == -1) { in run()
613 if ((ttyfp = fopen(_PATH_TTY, "r")) == NULL) in prompt()
/openbsd-src/usr.bin/vi/common/
H A Dmain.c581 if ((fd = open(_PATH_TTY, O_RDONLY)) < 0) { in attach()
582 warn("%s", _PATH_TTY); in attach()
/openbsd-src/usr.bin/vi/cl/
H A Dcl_main.c186 } else if ((fd = open(_PATH_TTY, O_RDONLY)) != -1) { in cl_init()
/openbsd-src/usr.bin/patch/
H A Dutil.c268 ttyfd = open(_PATH_TTY, O_RDONLY); in ask()
H A Dpatch.c246 if (unveil(_PATH_TTY, "r") == -1) { in main()
/openbsd-src/usr.bin/login/
H A Dlogin.c143 char tbuf[PATH_MAX + 2], tname[sizeof(_PATH_TTY) + 10]; in main()
295 (void)snprintf(tname, sizeof(tname), "%s??", _PATH_TTY); in main()
/openbsd-src/bin/ps/
H A Dps.c216 _PATH_TTY, optarg); in main()
/openbsd-src/sbin/restore/
H A Dtape.c160 terminal = fopen(_PATH_TTY, "r"); in setinput()
162 warn("cannot open %s", _PATH_TTY); in setinput()
/openbsd-src/sbin/fsck_ffs/
H A Dutilities.c643 info_fd = open(_PATH_TTY, O_WRONLY); in catchinfo()
/openbsd-src/usr.bin/tmux/
H A Dserver-client.c325 const char *ttynam = _PATH_TTY; in server_client_open()