Searched refs:O_WRONLY (Results 1 - 12 of 12) sorted by relevance

/darwin-on-arm/xnu/bsd/security/audit/
H A Daudit_bsm_klib.c272 oflags = oflags & (O_RDONLY | O_CREAT | O_TRUNC | O_RDWR | O_WRONLY);
311 case O_WRONLY:
315 case (O_WRONLY | O_CREAT):
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);
408 case O_WRONLY:
412 case (O_WRONLY | O_CREAT):
416 case (O_WRONLY | O_CREAT | O_TRUNC):
420 case (O_WRONLY | O_TRUN
[all...]
/darwin-on-arm/xnu/tools/tests/libMicro/apple/
H A Dlmbench_write.c113 ts->ts_fd = open(optf, O_WRONLY);
/darwin-on-arm/xnu/tools/tests/libMicro/
H A Dpwrite.c95 fd = open(optf, O_WRONLY);
H A Dwrite.c110 ts->ts_fd = open(optf, O_WRONLY);
H A Dwritev.c108 ts->ts_fd = open(optf, O_WRONLY);
H A Dpipe.c478 ts->ts_out = open(path, O_WRONLY);
481 ts->ts_out2 = open(path, O_WRONLY);
490 ts->ts_out = open(path, O_WRONLY);
/darwin-on-arm/xnu/SETUP/setsegname/
H A Dsetsegname.c238 int fd = open(output_name, O_WRONLY|O_CREAT|O_TRUNC, 0755);
/darwin-on-arm/xnu/bsd/sys/
H A Dfcntl.h114 #define O_WRONLY 0x0001 /* open for writing only */ macro
/darwin-on-arm/xnu/SETUP/kextsymboltool/
H A Dkextsymboltool.c699 fd = open(output_name, O_WRONLY|O_CREAT|O_TRUNC, 0755);
/darwin-on-arm/xnu/tools/tests/kqueue_tests/
H A Dkqueue_file_tests.c164 tmpwritefd = open(path, O_WRONLY);
167 fcntl(tmpwritefd, F_SETFL, O_WRONLY | O_NONBLOCK);
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/
H A Dtests.c476 /* test O_WRONLY case */
477 my_fd = open( my_pathp, O_WRONLY, 0 );
522 /* Try to read - this should fail since we opened file with O_WRONLY */
3973 my_fd = open( my_pathp, O_WRONLY, 0 );
/darwin-on-arm/xnu/bsd/vfs/
H A Dvfs_syscalls.c3254 if ( flags & (O_RDWR | O_WRONLY)) {

Completed in 116 milliseconds