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

1234

/macosx-10.10/OpenSSH-189/openssh/openbsd-compat/
H A Dbsd-openpty.c68 #ifndef O_NOCTTY
69 #define O_NOCTTY 0 macro
87 if ((*aslave = open(slave, O_RDWR | O_NOCTTY)) == -1) {
102 if ((ptm = open("/dev/ptmx", O_RDWR | O_NOCTTY)) == -1)
119 if ((*aslave = open(pts, O_RDWR | O_NOCTTY)) == -1) {
140 if ((*amaster = open("/dev/ptc", O_RDWR | O_NOCTTY)) == -1)
144 if ((*aslave = open(ttname, O_RDWR | O_NOCTTY)) == -1) {
164 if ((*amaster = open(ptbuf, O_RDWR|O_NOCTTY)) == -1)
167 if ((*aslave = open(ttbuf, O_RDWR|O_NOCTTY)) == -1) {
192 if ((*amaster = open(ptbuf, O_RDWR | O_NOCTTY))
[all...]
/macosx-10.10/gnutar-453/gnutar/lib/
H A Dfcntl_.h84 #ifndef O_NOCTTY
85 # define O_NOCTTY 0 macro
H A Dchown.c74 int open_flags = O_NONBLOCK | O_NOCTTY;
/macosx-10.10/xnu-2782.1.97/libsyscall/wrappers/legacy/
H A Dopen.c37 * tty, so we always pass O_NOCTTY.
51 return(__open_nocancel(path, flags | O_NOCTTY, mode));
/macosx-10.10/uucp-11/uucp/unix/
H A Ddirent.c44 #ifndef O_NOCTTY
45 #define O_NOCTTY 0 macro
64 o = open ((char *) zdir, O_RDONLY | O_NOCTTY, 0);
H A Dufopen.c47 #ifndef O_NOCTTY
48 #define O_NOCTTY 0 macro
87 e = open ((char *) zfile, O_RDONLY | O_NOCTTY, 0);
H A Defopen.c35 #ifndef O_NOCTTY
36 #define O_NOCTTY 0 macro
75 O_WRONLY | O_APPEND | O_CREAT | O_NOCTTY,
78 o = open ((char *) zfile, O_WRONLY | O_NOCTTY);
96 O_WRONLY | O_APPEND | O_CREAT | O_NOCTTY,
H A Dfilnam.c48 #ifndef O_NOCTTY
49 #define O_NOCTTY 0 macro
154 o = open ((char *) zfile, O_RDWR | O_CREAT | O_NOCTTY, IPRIVATE_FILE_MODE);
156 o = open ((char *) zfile, O_RDWR | O_NOCTTY);
163 o = open ((char *) zfile, O_RDWR | O_NOCTTY);
181 O_RDWR | O_CREAT | O_NOCTTY,
188 o = open ((char *) zfile, O_RDWR | O_NOCTTY);
H A Dopensr.c52 #ifndef O_NOCTTY
53 #define O_NOCTTY 0 macro
94 e = open ((char *) zfile, O_RDONLY | O_NOCTTY, 0);
/macosx-10.10/ksh-23/ksh/src/lib/libast/comp/
H A Dopen.c43 #ifdef O_NOCTTY
108 #if O_NOCTTY
109 if ((op & O_NOCTTY) && ioctl(fd, TIOCNOTTY, 0))
/macosx-10.10/lsof-53/lsof/dialects/darwin/libproc/
H A Ddstore.c65 { (long)O_NOCTTY, FF_NOCTTY },
/macosx-10.10/Libc-1044.1.2/util/
H A Dpty.c81 if ((master = posix_openpt(O_RDWR|O_NOCTTY)) < 0)
85 || (slave = open(sname, O_RDWR|O_NOCTTY, 0)) < 0) {
/macosx-10.10/ruby-106/ruby/ext/fcntl/
H A Dfcntl.c176 #ifdef O_NOCTTY
177 /* Document-const: O_NOCTTY
181 rb_define_const(mFcntl, "O_NOCTTY", INT2NUM(O_NOCTTY));
/macosx-10.10/vim-55/src/
H A Dpty.c126 * Open all ptys with O_NOCTTY, just to be on the safe side
129 #ifndef O_NOCTTY
130 # define O_NOCTTY 0 macro
257 if ((f = open("/dev/ptc", O_RDWR | O_NOCTTY | O_NONBLOCK | O_EXTRA, 0)) < 0)
289 if ((f = open("/dev/ptmx", O_RDWR | O_NOCTTY | O_EXTRA, 0)) == -1)
327 if ((f = open("/dev/ptc", O_RDWR | O_NOCTTY | O_EXTRA)) < 0)
339 if ((aixhack = open(TtyName, O_RDWR | O_NOCTTY | O_EXTRA, 0)) < 0)
386 if ((f = open(PtyName, O_RDWR | O_NOCTTY | O_EXTRA, 0)) == -1)
388 if ((f = open(PtyName, O_RDWR | O_NOCTTY | O_EXTRA)) == -1)
/macosx-10.10/ksh-23/ksh/src/lib/libast/features/
H A Dfcntl.c243 #ifndef O_NOCTTY
248 if (O_NOCTTY > o_local) o_local = O_NOCTTY;
293 #ifndef O_NOCTTY
295 printf("#define O_NOCTTY 0%o\n", o_local <<= 1);
310 #ifndef O_NOCTTY
312 printf("#define O_NOCTTY 0\n");
/macosx-10.10/sudo-73/src/
H A Dget_pty.c99 *slave = open(line, O_RDWR|O_NOCTTY, 0);
135 *master = posix_openpt(O_RDWR|O_NOCTTY);
149 *slave = open(line, O_RDWR|O_NOCTTY, 0);
186 *master = open(line, O_RDWR|O_NOCTTY, 0);
198 *slave = open(line, O_RDWR|O_NOCTTY, 0);
/macosx-10.10/lsof-53/lsof/dialects/darwin/kmem/
H A Ddstore.c83 { (long)O_NOCTTY, FF_NOCTTY },
/macosx-10.10/screen-22/screen/
H A Dpty.c105 * Open all ptys with O_NOCTTY, just to be on the safe side
108 #ifndef O_NOCTTY
109 # define O_NOCTTY 0 macro
229 if ((f = open(PtyName, O_RDWR | O_NOCTTY | O_NONBLOCK)) < 0)
263 if ((f = open(PtyName, O_RDWR | O_NOCTTY)) == -1)
299 if ((f = open (PtyName, O_RDWR | O_NOCTTY)) < 0)
357 if ((f = open(PtyName, O_RDWR | O_NOCTTY)) == -1)
/macosx-10.10/OpenSSH-189/openssh/
H A Dsshpty.c45 #ifndef O_NOCTTY
46 #define O_NOCTTY 0 macro
110 fd = open(tty, O_RDWR|O_NOCTTY);
132 fd = open(_PATH_TTY, O_RDWR | O_NOCTTY);
145 fd = open(_PATH_TTY, O_RDWR | O_NOCTTY);
/macosx-10.10/uucp-11/uucp/
H A Dcopy.c141 #ifndef O_NOCTTY macro
142 #define O_NOCTTY 0
156 ofrom = open (zfrom, O_RDONLY | O_NOCTTY, 0);
/macosx-10.10/dtrace-147/test/tst/common/io/
H A Dtst.fds.c85 O_NOCTTY | O_NONBLOCK | O_NDELAY | O_SYNC );
/macosx-10.10/tcl-105/tcl_ext/expect/expect/
H A Dexp_pty.c56 #ifdef O_NOCTTY
57 #define RDWR ((O_RDWR)|(O_NOCTTY))
149 #ifndef O_NOCTTY
152 /* Very few systems don't define O_NOCTTY. Only one */
181 #ifndef O_NOCTTY
/macosx-10.10/OpenSSL098-52/src/crypto/rand/
H A Drand_unix.c188 #ifdef O_NOCTTY /* If it happens to be a TTY (god forbid), do not make it
190 |O_NOCTTY
/macosx-10.10/zsh-61/zsh/Src/Modules/
H A Dclone.c49 ttyfd = open(*args, O_RDWR|O_NOCTTY);
/macosx-10.10/IOSerialFamily-74/tests/
H A DIOSerialTestLib.c203 fd = open(path, O_RDWR|O_NOCTTY|O_NONBLOCK);
315 readFd = open(readPath, O_RDWR|O_NOCTTY|O_NONBLOCK);
325 writeFd = open(writePath, O_RDWR|O_NOCTTY|O_NONBLOCK);

Completed in 323 milliseconds

1234