Searched refs:O_NOCTTY (Results 1 - 25 of 30) sorted by relevance

12

/netbsd-6-1-5-RELEASE/external/bsd/tmux/dist/compat/
H A Dforkpty-aix.c36 if ((*master = open("/dev/ptc", O_RDWR|O_NOCTTY)) == -1)
41 if ((slave = open(path, O_RDWR|O_NOCTTY)) == -1)
50 fd = open(_PATH_TTY, O_RDWR|O_NOCTTY);
59 fd = open(_PATH_TTY, O_RDWR|O_NOCTTY);
H A Dforkpty-hpux.c36 if ((*master = open("/dev/ptmx", O_RDWR|O_NOCTTY)) == -1)
47 if ((slave = open(path, O_RDWR|O_NOCTTY)) == -1)
H A Dforkpty-sunos.c36 if ((*master = open("/dev/ptmx", O_RDWR|O_NOCTTY)) == -1)
47 if ((slave = open(path, O_RDWR|O_NOCTTY)) == -1)
/netbsd-6-1-5-RELEASE/external/public-domain/xz/dist/src/common/
H A Dtuklib_open_stdxxx.c38 const int fd = open("/dev/null", O_NOCTTY
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssh/dist/
H A Dsshpty.c36 #ifndef O_NOCTTY
37 #define O_NOCTTY 0 macro
82 fd = open(_PATH_TTY, O_RDWR | O_NOCTTY);
95 fd = open(_PATH_TTY, O_RDWR | O_NOCTTY);
H A Dsshd.c124 #ifndef O_NOCTTY
125 #define O_NOCTTY 0 macro
1743 fd = open(_PATH_TTY, O_RDWR | O_NOCTTY);
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/readline/examples/rlfe/
H A Dpty.c103 * Open all ptys with O_NOCTTY, just to be on the safe side
106 #ifndef O_NOCTTY
107 # define O_NOCTTY 0 macro
227 if ((f = open(PtyName, O_RDWR | O_NOCTTY | O_NONBLOCK)) < 0)
261 if ((f = open(PtyName, O_RDWR | O_NOCTTY)) == -1)
297 if ((f = open (PtyName, O_RDWR | O_NOCTTY)) < 0)
355 if ((f = open(PtyName, O_RDWR | O_NOCTTY)) == -1)
/netbsd-6-1-5-RELEASE/tests/lib/libc/ttyio/
H A Dt_ptm.c132 if ((fdm = posix_openpt(O_RDWR|O_NOCTTY)) == -1) {
152 REQUIRE_ERRNO((fds = open(pty, O_RDWR|O_NOCTTY)), -1);
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/rand/
H A Drand_unix.c282 #ifdef O_NOCTTY /* If it happens to be a TTY (god forbid), do not make it
284 |O_NOCTTY
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libcpp/
H A Dsystem.h329 /* Approximate O_NOCTTY and O_BINARY. */
330 #ifndef O_NOCTTY
331 #define O_NOCTTY 0 macro
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/libcpp/
H A Dsystem.h330 /* Approximate O_NOCTTY and O_BINARY. */
331 #ifndef O_NOCTTY
332 #define O_NOCTTY 0 macro
/netbsd-6-1-5-RELEASE/sys/sys/
H A Dfcntl.h102 #define O_NOCTTY 0x00008000 /* don't assign controlling terminal */ macro
132 O_RSYNC|O_NOCTTY|O_ALT_IO|O_NOFOLLOW|O_DIRECT|\
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/gdb/
H A Dinflow.c43 #ifndef O_NOCTTY
44 #define O_NOCTTY 0 macro
710 tty = open (inferior_thisrun_terminal, O_RDWR | O_NOCTTY);
/netbsd-6-1-5-RELEASE/external/public-domain/xz/dist/src/xz/
H A Dfile_io.c35 #ifndef O_NOCTTY
36 # define O_NOCTTY 0 macro
310 int flags = O_RDONLY | O_BINARY | O_NOCTTY;
596 const int flags = O_WRONLY | O_BINARY | O_NOCTTY
/netbsd-6-1-5-RELEASE/sys/compat/ibcs2/
H A Dibcs2_fcntl.c134 if (flags & IBCS2_O_NOCTTY) r |= O_NOCTTY;
154 if (flags & O_NOCTTY) r |= IBCS2_O_NOCTTY;
/netbsd-6-1-5-RELEASE/sys/compat/linux/common/
H A Dlinux_file.c99 res |= cvtto_bsd_mask(lflags, LINUX_O_NOCTTY, O_NOCTTY);
121 res |= cvtto_linux_mask(bflags, O_NOCTTY, LINUX_O_NOCTTY);
188 * terminal yet, and the O_NOCTTY flag is not set, try to make
191 if (!(fl & O_NOCTTY) && SESS_LEADER(p) && !(p->p_lflag & PL_CONTROLT)) {
/netbsd-6-1-5-RELEASE/sys/compat/osf1/
H A Dosf1_cvt.c193 { O_NOCTTY, O_NOCTTY, OSF1_O_NOCTTY },
216 { OSF1_O_NOCTTY, OSF1_O_NOCTTY, O_NOCTTY },
/netbsd-6-1-5-RELEASE/sys/compat/svr4/
H A Dsvr4_fcntl.c86 r |= (l & SVR4_O_NOCTTY) ? O_NOCTTY : 0;
108 r |= (l & O_NOCTTY) ? SVR4_O_NOCTTY : 0;
326 if (!(SCARG(&cup, flags) & O_NOCTTY) && SESS_LEADER(l->l_proc) &&
/netbsd-6-1-5-RELEASE/sys/compat/svr4_32/
H A Dsvr4_32_fcntl.c86 r |= (l & SVR4_O_NOCTTY) ? O_NOCTTY : 0;
108 r |= (l & O_NOCTTY) ? SVR4_O_NOCTTY : 0;
324 if (!(SCARG(&cup, flags) & O_NOCTTY) && SESS_LEADER(l->l_proc) &&
/netbsd-6-1-5-RELEASE/external/bsd/am-utils/dist/amd/
H A Dinfo_exec.c275 if ((nullfd = open("/dev/null", O_WRONLY|O_NOCTTY)) < 0)
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/ntpd/
H A Drefclock_nmea.c114 #ifndef O_NOCTTY
117 #define M_NOCTTY O_NOCTTY
H A Dntp_refclock.c732 #ifdef O_NOCTTY
733 omode |= O_NOCTTY;
H A Drefclock_arc.c473 #ifdef O_NOCTTY /* Good, we can avoid tty becoming controlling tty. */
474 #define OPEN_FLAGS (O_RDWR | O_NOCTTY)
/netbsd-6-1-5-RELEASE/external/gpl2/xcvs/dist/src/
H A Dmain.c800 #ifdef O_NOCTTY
801 flags |= O_NOCTTY;
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/sim/bfin/
H A Dlinux-targ-map.h1818 #ifdef O_NOCTTY
1820 { O_NOCTTY, TARGET_LINUX_O_NOCTTY },

Completed in 244 milliseconds

12