Searched refs:O_TRUNC (Results 1 - 25 of 304) sorted by relevance

1234567891011>>

/macosx-10.10.1/ksh-23/ksh/src/lib/libast/comp/
H A Dcreat64.c35 return open64(path, O_WRONLY|O_CREAT|O_TRUNC, mode);
H A Dopen.c66 if (op & O_TRUNC)
93 op &= ~(O_CREAT|O_TRUNC);
101 op |= O_TRUNC;
H A Dsymlink.c48 if ((fd = open(b, O_CREAT|O_TRUNC|O_WRONLY|O_cloexec, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)) < 0)
/macosx-10.10.1/Libc-1044.1.2/compat-43/FreeBSD/
H A Dcreat.c52 return(__open(path, O_WRONLY|O_CREAT|O_TRUNC, mode));
54 return(__open_nocancel(path, O_WRONLY|O_CREAT|O_TRUNC, mode));
/macosx-10.10.1/BerkeleyDB-21/db/common/
H A Dopenflags.c30 if (oflags & O_TRUNC)
/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);
287 case (O_RDONLY | O_CREAT | O_TRUNC):
291 case (O_RDONLY | O_TRUNC):
303 case (O_RDWR | O_CREAT | O_TRUNC):
307 case (O_RDWR | O_TRUNC):
319 case (O_WRONLY | O_CREAT | O_TRUNC):
323 case (O_WRONLY | O_TRUNC):
369 oflags = oflags & (O_RDONLY | O_CREAT | O_TRUNC | O_RDWR | O_WRONLY);
384 case (O_RDONLY | O_CREAT | O_TRUNC):
388 case (O_RDONLY | O_TRUNC)
[all...]
/macosx-10.10.1/OpenSSL098-52/src/util/
H A Dcopy.pl55 sysopen(OUT, $dfile, O_WRONLY|O_CREAT|O_TRUNC|O_BINARY)
/macosx-10.10.1/ruby-106/ruby/ext/fcntl/
H A Dfcntl.c183 #ifdef O_TRUNC
184 /* Document-const: O_TRUNC
188 rb_define_const(mFcntl, "O_TRUNC", INT2NUM(O_TRUNC));
/macosx-10.10.1/Libc-1044.1.2/stdio/FreeBSD/
H A Dflags.c69 o = O_CREAT | O_TRUNC;
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/features/
H A Dfcntl.c263 #ifndef O_TRUNC
266 if (O_TRUNC > o_local) o_local = O_TRUNC;
303 #ifndef O_TRUNC
304 printf("#define O_TRUNC 0%o\n", o_local <<= 1);
/macosx-10.10.1/libxml2-26/libxml2/win32/wince/
H A Dwincecompat.h25 #define O_TRUNC 0x0200 /* open and truncate */ macro
/macosx-10.10.1/mail_cmds-30/mail/
H A Dv7.local.c82 (void)close(open(mailname, O_CREAT | O_TRUNC | O_WRONLY, 0600));
/macosx-10.10.1/ntp-92/lib/isc/win32/include/isc/
H A Dstat.h58 #define O_TRUNC _O_TRUNC macro
/macosx-10.10.1/pyobjc-45/2.6/pyobjc/pyobjc-core/libxml2-src/win32/wince/
H A Dwincecompat.h25 #define O_TRUNC 0x0200 /* open and truncate */ macro
/macosx-10.10.1/adv_cmds-158/gencat/
H A Dgencat.c108 if ((ofd = open(catfile, O_WRONLY|O_TRUNC|O_CREAT, 0666)) < 0)
116 if ((ofd = open(catfile, O_WRONLY|O_TRUNC)) < 0)
190 if ((fd = open(fname, O_WRONLY|O_TRUNC)) < 0)
/macosx-10.10.1/man-16/man/gencat/
H A Dgencat.c139 if ((ofd = open(catfile, O_WRONLY|O_TRUNC|O_CREAT, 0666)) < 0) {
151 if ((ofd = open(catfile, O_WRONLY|O_TRUNC)) < 0) {
248 if ((fd = open(fname, O_WRONLY|O_TRUNC)) < 0) {
/macosx-10.10.1/Heimdal-398.1.2/lib/roken/
H A Ddumpdata.c47 fd = open(filename, O_WRONLY|O_TRUNC|O_CREAT, 0640);
/macosx-10.10.1/Libc-1044.1.2/db/db/FreeBSD/
H A Ddb.c60 O_RDWR | O_SHLOCK | O_TRUNC)
/macosx-10.10.1/Security-57031.1.35/Security/include/security_cdsa_utils/
H A DcuFileIo.c42 fd = open(fileName, O_RDWR | O_CREAT | O_TRUNC, 0600);
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_cdsa_utils/lib/
H A DcuFileIo.c42 fd = open(fileName, O_RDWR | O_CREAT | O_TRUNC, 0600);
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_keychain/libDER/libDERUtils/
H A DfileIo.c22 fd = open(fileName, O_RDWR | O_CREAT | O_TRUNC, 0600);
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_ssl/sslViewer/
H A DfileIo.c45 fd = open(fileName, O_RDWR | O_CREAT | O_TRUNC, 0600);
/macosx-10.10.1/Security-57031.1.35/SecurityTests/cspxutils/genErrorStrings/
H A DfileIo.c18 fd = open(fileName, O_RDWR | O_CREAT | O_TRUNC, 0600);
/macosx-10.10.1/Security-57031.1.35/SecurityTests/regressions/kc/
H A Dkc-26-is-valid.c32 ok_unix(fd = open(kcname2, O_CREAT|O_WRONLY|O_TRUNC, 0600),
/macosx-10.10.1/bless-103/libbless/Misc/
H A DBLCopyFileFromCFData.c54 fdw = open(dest, O_WRONLY|O_TRUNC, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH);

Completed in 289 milliseconds

1234567891011>>