/netbsd-6-1-5-RELEASE/external/bsd/tmux/dist/compat/ |
H A D | forkpty-aix.c | 36 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 D | forkpty-hpux.c | 36 if ((*master = open("/dev/ptmx", O_RDWR|O_NOCTTY)) == -1) 47 if ((slave = open(path, O_RDWR|O_NOCTTY)) == -1)
|
H A D | forkpty-sunos.c | 36 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 D | tuklib_open_stdxxx.c | 38 const int fd = open("/dev/null", O_NOCTTY
|
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssh/dist/ |
H A D | sshpty.c | 36 #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 D | sshd.c | 124 #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 D | pty.c | 103 * 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 D | t_ptm.c | 132 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 D | rand_unix.c | 282 #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 D | system.h | 329 /* 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 D | system.h | 330 /* 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 D | fcntl.h | 102 #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 D | inflow.c | 43 #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 D | file_io.c | 35 #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 D | ibcs2_fcntl.c | 134 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 D | linux_file.c | 99 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 D | osf1_cvt.c | 193 { 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 D | svr4_fcntl.c | 86 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 D | svr4_32_fcntl.c | 86 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 D | info_exec.c | 275 if ((nullfd = open("/dev/null", O_WRONLY|O_NOCTTY)) < 0)
|
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/ntpd/ |
H A D | refclock_nmea.c | 114 #ifndef O_NOCTTY 117 #define M_NOCTTY O_NOCTTY
|
H A D | ntp_refclock.c | 732 #ifdef O_NOCTTY 733 omode |= O_NOCTTY;
|
H A D | refclock_arc.c | 473 #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 D | main.c | 800 #ifdef O_NOCTTY 801 flags |= O_NOCTTY;
|
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/sim/bfin/ |
H A D | linux-targ-map.h | 1818 #ifdef O_NOCTTY 1820 { O_NOCTTY, TARGET_LINUX_O_NOCTTY },
|