Searched refs:O_WRONLY (Results 1 - 12 of 12) sorted by relevance
/darwin-on-arm/xnu/bsd/security/audit/ |
H A D | audit_bsm_klib.c | 272 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 D | lmbench_write.c | 113 ts->ts_fd = open(optf, O_WRONLY);
|
/darwin-on-arm/xnu/tools/tests/libMicro/ |
H A D | pwrite.c | 95 fd = open(optf, O_WRONLY);
|
H A D | write.c | 110 ts->ts_fd = open(optf, O_WRONLY);
|
H A D | writev.c | 108 ts->ts_fd = open(optf, O_WRONLY);
|
H A D | pipe.c | 478 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 D | setsegname.c | 238 int fd = open(output_name, O_WRONLY|O_CREAT|O_TRUNC, 0755);
|
/darwin-on-arm/xnu/bsd/sys/ |
H A D | fcntl.h | 114 #define O_WRONLY 0x0001 /* open for writing only */ macro
|
/darwin-on-arm/xnu/SETUP/kextsymboltool/ |
H A D | kextsymboltool.c | 699 fd = open(output_name, O_WRONLY|O_CREAT|O_TRUNC, 0755);
|
/darwin-on-arm/xnu/tools/tests/kqueue_tests/ |
H A D | kqueue_file_tests.c | 164 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 D | tests.c | 476 /* 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 D | vfs_syscalls.c | 3254 if ( flags & (O_RDWR | O_WRONLY)) {
|
Completed in 116 milliseconds