Home
last modified time | relevance | path

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

12

/dragonfly/contrib/gcc-4.7/libssp/
HDssp.c56 #ifndef _PATH_TTY
60 # define _PATH_TTY "CONOUT$" macro
62 # define _PATH_TTY "/dev/tty" macro
110 fd = open (_PATH_TTY, O_WRONLY); in fail()
/dragonfly/contrib/gcc-8.0/libssp/
HDssp.c56 #ifndef _PATH_TTY
62 # define _PATH_TTY "CONOUT$" macro
64 # define _PATH_TTY "/dev/tty" macro
126 fd = open (_PATH_TTY, O_WRONLY); in fail()
/dragonfly/crypto/openssh/
HDsshpty.c106 fd = open(_PATH_TTY, O_RDWR | O_NOCTTY); in pty_make_controlling_tty()
119 fd = open(_PATH_TTY, O_RDWR | O_NOCTTY); in pty_make_controlling_tty()
141 fd = open(_PATH_TTY, O_WRONLY); in pty_make_controlling_tty()
227 if ((fd = open(_PATH_TTY, O_RDWR | O_NOCTTY)) >= 0) { in disconnect_controlling_tty()
HDreadpass.c155 ttyfd = open(_PATH_TTY, O_RDWR); in read_passphrase()
166 debug_f("can't open %s: %s", _PATH_TTY, in read_passphrase()
HDdefines.h485 #ifndef _PATH_TTY
486 # define _PATH_TTY "/dev/tty" macro
/dragonfly/lib/libc/gen/
HDctermid.c42 static char def[] = _PATH_TTY; in ctermid()
45 bcopy(def, s, sizeof(_PATH_TTY)); in ctermid()
HDreadpassphrase.c70 input = output = _open(_PATH_TTY, O_RDWR | O_CLOEXEC); in readpassphrase()
/dragonfly/contrib/libarchive/libarchive_fe/
HDpassphrase.c137 #ifndef _PATH_TTY
138 #define _PATH_TTY "/dev/tty" macro
194 (input = output = open(_PATH_TTY, O_RDWR)) == -1) { in readpassphrase()
/dragonfly/usr.sbin/fdwrite/
HDfdwrite.c115 tty = fopen(_PATH_TTY,"r+"); in main()
117 err(1, _PATH_TTY); in main()
/dragonfly/libexec/telnetd/
HDpathnames.h43 # define _PATH_TTY "/dev/tty" macro
/dragonfly/include/
HDpaths.h79 #define _PATH_TTY __SYS_PATH_TTY macro
/dragonfly/sbin/dump/
HDoptr.c77 if ((mytty = fopen(_PATH_TTY, "r")) == NULL) in query()
78 quit("fopen on %s fails: %s\n", _PATH_TTY, strerror(errno)); in query()
/dragonfly/contrib/nvi2/common/
HDmain.c558 if ((fd = open(_PATH_TTY, O_RDONLY, 0)) < 0) { in attach()
559 warn("%s", _PATH_TTY); in attach()
/dragonfly/usr.sbin/cron/lib/
HDcompat.c109 if ((fd = open(_PATH_TTY, 2)) >= 0) in setsid()
/dragonfly/usr.sbin/ppp/
HDmain.c343 if (open(_PATH_TTY, O_RDONLY) != STDIN_FILENO) { in main()
344 fprintf(stderr, "Cannot open %s for input !\n", _PATH_TTY); in main()
/dragonfly/usr.bin/xargs/
HDxargs.c616 if ((fd = open(_PATH_TTY, O_RDONLY)) == -1) in run()
801 if ((ttyfp = fopen(_PATH_TTY, "r")) == NULL) in prompt()
/dragonfly/usr.sbin/rpc.ypxfrd/
HDypxfrd_main.c245 i = open(_PATH_TTY, 2); in main()
/dragonfly/usr.bin/login/
HDlogin.c159 char tname[sizeof(_PATH_TTY) + 10]; in main()
235 snprintf(tname, sizeof(tname), "%s??", _PATH_TTY); in main()
/dragonfly/contrib/nvi2/cl/
HDcl_main.c204 } else if ((fd = open(_PATH_TTY, O_RDONLY, 0)) != -1) { in cl_init()
/dragonfly/usr.bin/patch/
HDutil.c281 ttyfd = open(_PATH_TTY, O_RDONLY); in ask()
/dragonfly/usr.sbin/watch/
HDwatch.c241 sprintf(buf, "%s%s", _PATH_TTY, name); in set_dev()
/dragonfly/libexec/bootpd/bootpgw/
HDbootpgw.c360 n = open(_PATH_TTY, O_RDWR); in main()
/dragonfly/usr.sbin/sliplogin/
HDsliplogin.c361 char devnam[MAXPATHLEN] = _PATH_TTY; /* Device name */ in main()
/dragonfly/sbin/restore/
HDtape.c134 terminal = fopen(_PATH_TTY, "r"); in setinput()
137 _PATH_TTY, strerror(errno)); in setinput()
/dragonfly/bin/ps/
HDps.c267 "%s%s", _PATH_TTY, optarg); in main()

12