Searched refs:O_WRONLY (Results 51 - 75 of 453) sorted by relevance

1234567891011>>

/macosx-10.10/Security-57031.1.35/securityd/src/
H A Dtokencache.cpp100 AutoFileDesc(path, O_WRONLY | O_CREAT | O_TRUNC).writeAll(buffer);
105 AutoFileDesc(path, O_WRONLY | O_CREAT | O_TRUNC).writeAll(value);
/macosx-10.10/ksh-23/ksh/src/lib/libast/features/
H A Dfcntl.c268 #ifndef O_WRONLY
278 #ifndef O_WRONLY
279 printf("#define O_WRONLY 1\n");
308 printf("#define O_ACCMODE (O_RDONLY|O_WRONLY|O_RDWR)\n");
/macosx-10.10/postfix-255/postfix/src/local/
H A Dmaildir.c188 if ((dst = vstream_fopen(tmpfile, O_WRONLY | O_CREAT | O_EXCL, 0600)) == 0
191 || (dst = vstream_fopen(tmpfile, O_WRONLY | O_CREAT | O_EXCL, 0600)) == 0)) {
/macosx-10.10/postfix-255/postfix/src/virtual/
H A Dmaildir.c182 if ((dst = vstream_fopen(tmpfile, O_WRONLY | O_CREAT | O_EXCL, 0600)) == 0
185 || (dst = vstream_fopen(tmpfile, O_WRONLY | O_CREAT | O_EXCL, 0600)) == 0)) {
/macosx-10.10/removefile-35/test/
H A Dtest-removefile.c56 assert((fd = open("/tmp/removefile-test/foo/baz/woot", O_CREAT | O_TRUNC | O_WRONLY, 0644)) != -1);
59 assert((fd = open("/tmp/removefile-test/foo/baz/wootage", O_CREAT | O_TRUNC | O_WRONLY, 0644)) != -1);
/macosx-10.10/srm-7/srm/src/
H A Dtree_walker.c42 if ( ((fd = open(path, O_WRONLY)) == -1) && (errno == EACCES) ) {
72 if ( (fts_flag != FTS_SL) && ((fd = open(path, O_WRONLY)) == -1) &&
/macosx-10.10/uucp-11/uucp/unix/
H A Dopensr.c48 #define O_WRONLY 1 macro
186 o = open ((char *) zreceive, O_WRONLY);
H A Dinit.c45 #define O_WRONLY 1 macro
196 && open ((char *) "/dev/null", O_WRONLY, 0) != 1)
199 && open ((char *) "/dev/null", O_WRONLY, 0) != 2)
/macosx-10.10/Heimdal-398.1.2/appl/login/
H A Dutmpx_login.c59 if ((fd = open(_PATH_WTMP, O_WRONLY|O_APPEND, 0)) >= 0) {
/macosx-10.10/ksh-23/ksh/src/cmd/ksh93/sh/
H A Dsuid_exec.c381 if((n = open(tmpname, O_WRONLY | O_CREAT | O_EXCL, SPECIAL)) < 0 ||
384 if((n = open(tmpname, O_WRONLY | O_CREAT ,SPECIAL)) < 0 || unlink(tmpname) < 0)
429 if((n = open(tmpname,O_WRONLY|O_CREAT|O_TRUNC|O_EXCL, mode)) < 0)
432 if((n = open(tmpname,O_WRONLY|O_CREAT|O_TRUNC, mode)) < 0)
/macosx-10.10/llvmCore-3425.0.34/runtime/libprofile/
H A DCommonProfiling.c102 OutFile = open(OutputFilename, O_CREAT | O_WRONLY, 0666);
/macosx-10.10/postfix-255/postfix/src/util/
H A Dfifo_trigger.c77 if ((fp = safe_open(service, O_WRONLY | O_NONBLOCK, 0,
/macosx-10.10/pyobjc-45/2.6/pyobjc/pyobjc-framework-Cocoa/PyObjCTest/
H A Dtest_nsjavasetup.py49 x = os.open('/dev/null', os.O_WRONLY)
/macosx-10.10/pyobjc-45/pyobjc/pyobjc-framework-Cocoa-2.5.1/PyObjCTest/
H A Dtest_nsjavasetup.py54 x = os.open('/dev/null', os.O_WRONLY)
/macosx-10.10/system_cmds-643.1.1/vifs.tproj/
H A Dvifs.c66 fd = open(_PATH_FSTAB, O_CREAT | O_WRONLY,
/macosx-10.10/tcl-105/tcl_ext/tkimg/tkimg/compat/libtiff/libtiff/
H A Dtiffcomp.h196 #define O_WRONLY 1 macro
/macosx-10.10/xnu-2782.1.97/tools/tests/libMicro/
H A Dwritev.c108 ts->ts_fd = open(optf, O_WRONLY);
/macosx-10.10/Libc-1044.1.2/os/
H A Ddebug_private.c56 return open(suggestion, O_WRONLY | O_APPEND | O_CREAT | O_NOFOLLOW |
70 fd = open(path, O_WRONLY | O_APPEND | O_CREAT | O_NOFOLLOW | O_EXCL |
82 fd = open(path, O_WRONLY | O_APPEND | O_CREAT | O_NOFOLLOW |
/macosx-10.10/cups-408/cups/backend/
H A Dusb-unix.c270 if ((fd = open(device, O_WRONLY | O_EXCL)) >= 0)
452 if ((fd = open(device, O_WRONLY | O_EXCL)) >= 0)
520 fd = open(uri + 4, O_WRONLY | O_EXCL);
/macosx-10.10/ksh-23/ksh/src/lib/libast/sfio/
H A D_sfopen.c124 if((oflags&O_ACCMODE) != O_WRONLY)
166 oflags |= O_WRONLY | O_APPEND | O_CREAT;
195 oflags |= O_WRONLY | O_CREAT;
/macosx-10.10/cups-408/cups/scheduler/
H A Dprocess.c589 posix_spawn_file_actions_addopen(&actions, 0, "/dev/null", O_WRONLY, 0);
597 posix_spawn_file_actions_addopen(&actions, 1, "/dev/null", O_WRONLY, 0);
605 posix_spawn_file_actions_addopen(&actions, 2, "/dev/null", O_WRONLY, 0);
646 errfd = open("/dev/null", O_WRONLY);
687 outfd = open("/dev/null", O_WRONLY);
/macosx-10.10/file_cmds-242/cp/
H A Dutils.c123 to_fd = open(to.p_path, O_WRONLY | O_TRUNC, 0);
128 to_fd = open(to.p_path, O_WRONLY | O_TRUNC | O_CREAT,
137 to_fd = open(to.p_path, O_WRONLY | O_TRUNC | O_CREAT,
141 to_fd = open(to.p_path, O_WRONLY | O_TRUNC, 0);
144 to_fd = open(to.p_path, O_WRONLY | O_TRUNC | O_CREAT,
/macosx-10.10/configd-699.1.5/configd.tproj/
H A Dconfigd.m186 ofd = open("/var/log/configd.log", O_WRONLY|O_APPEND, 0);
211 fd = open("/var/log/configd.trace", O_WRONLY|O_APPEND, 0);
362 fd = open("/var/run/configd-crash-reported", O_WRONLY|O_CREAT|O_EXCL, 0644);
/macosx-10.10/apache-793/httpd/test/
H A Dtime-sem.c101 fcntl_fd = open("test-lock-thing", O_CREAT | O_WRONLY | O_EXCL, 0644);
149 flock_fd = open(FNAME, O_CREAT | O_WRONLY | O_EXCL, 0644);
160 flock_fd = open(FNAME, O_WRONLY, 0600);
/macosx-10.10/bash-94.1.2/bash-3.2/lib/readline/
H A Dhistfile.c399 if (bp > buffer && ((file = open (filename, O_WRONLY|O_TRUNC|O_BINARY, 0600)) != -1))
435 mode = overwrite ? O_WRONLY|O_CREAT|O_TRUNC|O_BINARY : O_WRONLY|O_APPEND|O_BINARY;

Completed in 390 milliseconds

1234567891011>>