Searched refs:O_RDWR (Results 1 - 25 of 607) sorted by relevance

1234567891011>>

/macosx-10.10.1/BerkeleyDB-21/db/common/
H A Dopenflags.c40 #define O_ACCMODE (O_RDONLY | O_RDWR | O_WRONLY)
43 case O_RDWR:
/macosx-10.10.1/CPANInternal-159.1/File-NFSLock-1.21/examples/
H A Dlock_test12 use Fcntl qw(O_RDWR O_CREAT LOCK_EX);
24 sysopen(FH, $datafile, O_RDWR | O_CREAT)
/macosx-10.10.1/ppp-786.1.1/Helpers/MiniTerm/
H A DMiniTerm_main.m33 open("/dev/null", O_RDWR, 0);
/macosx-10.10.1/OpenSSH-189/openssh/openbsd-compat/
H A Dbsd-openpty.c83 if ((slave = _getpty(amaster, O_RDWR, 0622, 0)) == NULL)
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)) == -1) {
196 if ((*amaster = open(ptbuf, O_RDWR | O_NOCTT
[all...]
H A Ddaemon.c71 if (!noclose && (fd = open(_PATH_DEVNULL, O_RDWR, 0)) != -1) {
/macosx-10.10.1/emacs-93/emacs/src/s/
H A Dbsd4-1.h126 #define O_RDWR 2
125 #define O_RDWR macro
H A Dirix4-0.h67 char *name = _getpty (&fd, O_RDWR | O_NDELAY, 0600, 0); \
/macosx-10.10.1/rsync-45/rsync/
H A Dconnection.c33 fd = open(fname,O_RDWR|O_CREAT, 0600);
/macosx-10.10.1/Security-57031.1.35/Security/include/security_cdsa_utilities/
H A Ddb++.h45 UnixDb(const char *path, int flags = O_RDWR, int mode = 0666, DBTYPE type = DB_HASH);
46 UnixDb(const std::string &path, int flags = O_RDWR, int mode = 0666, DBTYPE type = DB_HASH);
50 void open(const char *path, int flags = O_RDWR, int mode = 0666, DBTYPE type = DB_HASH);
51 void open(const std::string &path, int flags = O_RDWR, int mode = 0666, DBTYPE type = DB_HASH);
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_cdsa_utilities/lib/
H A Ddb++.h45 UnixDb(const char *path, int flags = O_RDWR, int mode = 0666, DBTYPE type = DB_HASH);
46 UnixDb(const std::string &path, int flags = O_RDWR, int mode = 0666, DBTYPE type = DB_HASH);
50 void open(const char *path, int flags = O_RDWR, int mode = 0666, DBTYPE type = DB_HASH);
51 void open(const std::string &path, int flags = O_RDWR, int mode = 0666, DBTYPE type = DB_HASH);
/macosx-10.10.1/sudo-73/src/
H A Dsetsid.c43 if ((fd = open(_PATH_TTY, O_RDWR, 0644)) != -1) {
H A Dget_pty.c96 line = _getpty(master, O_RDWR, S_IRUSR|S_IWUSR|S_IWGRP, 0);
99 *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.1/dtrace-147/test/tst/common/io/
H A Dtst.fds.c82 fds[n++] = open(file, O_RDWR);
84 fds[n++] = open(file, O_RDWR | O_APPEND | O_CREAT | O_ASYNC |
87 fds[n++] = open(file, O_RDWR);
/macosx-10.10.1/ruby-106/ruby/ext/fcntl/
H A Dfcntl.c218 #ifdef O_RDWR
219 /* Document-const: O_RDWR
223 rb_define_const(mFcntl, "O_RDWR", INT2NUM(O_RDWR));
243 rb_define_const(mFcntl, "O_ACCMODE", INT2FIX(O_RDONLY | O_WRONLY | O_RDWR));
/macosx-10.10.1/xnu-2782.1.97/bsd/security/audit/
H A Daudit_bsm_klib.c272 oflags = oflags & (O_RDONLY | O_CREAT | O_TRUNC | O_RDWR | O_WRONLY);
295 case O_RDWR:
299 case (O_RDWR | O_CREAT):
303 case (O_RDWR | O_CREAT | O_TRUNC):
307 case (O_RDWR | O_TRUNC):
369 oflags = oflags & (O_RDONLY | O_CREAT | O_TRUNC | O_RDWR | O_WRONLY);
392 case O_RDWR:
396 case (O_RDWR | O_CREAT):
400 case (O_RDWR | O_CREAT | O_TRUNC):
404 case (O_RDWR | O_TRUN
[all...]
/macosx-10.10.1/cxxfilt-11/cxxfilt/bfd/
H A Dsysdep.h97 #ifndef O_RDWR
98 #define O_RDWR 2 macro
101 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
/macosx-10.10.1/zsh-61/zsh/Src/Modules/
H A Dclone.c49 ttyfd = open(*args, O_RDWR|O_NOCTTY);
76 cttyfd = open(*args, O_RDWR);
86 cttyfd = open("/dev/tty", O_RDWR);
/macosx-10.10.1/Heimdal-398.1.2/lib/roken/
H A Ddaemon.c70 if (!noclose && (fd = open(_PATH_DEVNULL, O_RDWR, 0)) != -1) {
/macosx-10.10.1/Security-57031.1.35/Security/include/security_utilities/
H A Ddevrandom.h49 Writable() { open("/dev/random", O_RDWR); }
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_utilities/lib/
H A Ddevrandom.h49 Writable() { open("/dev/random", O_RDWR); }
/macosx-10.10.1/cups-408/cups/backend/
H A Dtest1284.c60 if ((fd = open(argv[i], O_RDWR)) < 0)
/macosx-10.10.1/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.1/OpenLDAP-499.27/OpenLDAP/libraries/liblutil/
H A Ddetach.c93 if ( (sd = open( "/dev/null", O_RDWR )) == -1 &&
133 if ( (sd = open( "/dev/tty", O_RDWR )) != -1 ) {
/macosx-10.10.1/cups-408/cups/cups/
H A Dtempfile.c124 fd = open(filename, O_RDWR | O_CREAT | O_EXCL | O_NOFOLLOW, 0600);
126 fd = open(filename, O_RDWR | O_CREAT | O_EXCL, 0600);
/macosx-10.10.1/postfix-255/postfix/src/global/
H A Dmkmap_dbm.c96 if ((mkmap->lock_fd = open(mkmap->lock_file, O_CREAT | O_RDWR, 0644)) < 0)
100 if ((pag_fd = open(pag_file, O_CREAT | O_RDWR, 0644)) < 0)

Completed in 276 milliseconds

1234567891011>>