Home
last modified time | relevance | path

Searched refs:O_WRONLY (Results 1 – 9 of 9) sorted by relevance

/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dflags.c60 m = O_WRONLY; in __sflags()
66 m = O_WRONLY; in __sflags()
Dfmemopen.c147 st->len = (oflags & O_WRONLY) ? 0 : size; in fmemopen()
/bionic/libc/bionic/
Dpthread_setname_np.cpp68 int fd = open(comm_name, O_CLOEXEC | O_WRONLY); in pthread_setname_np()
Dopen.cpp47 return open(pathname, O_CREAT | O_TRUNC | O_WRONLY, mode); in creat()
Dbionic_systrace.cpp78 g_trace_marker_fd = open("/sys/kernel/debug/tracing/trace_marker", O_CLOEXEC | O_WRONLY); in get_trace_marker_fd()
Dlibc_logging.cpp435 int fd = TEMP_FAILURE_RETRY(open("/dev/stderr", O_CLOEXEC | O_WRONLY | O_APPEND)); in __libc_write_stderr()
/bionic/libc/kernel/uapi/asm-generic/
Dfcntl.h25 #define O_WRONLY 00000001 macro
/bionic/tests/
Dstdlib_test.cpp434 int fd = open("/dev/null", O_WRONLY); in TEST()
463 int fd = open("/dev/null", O_WRONLY); in TEST()
Dfortify_test.cpp659 int fd = open("/dev/null", O_WRONLY); in TEST_F()
667 int fd = open("/dev/null", O_WRONLY); in TEST_F()
683 int fd = open("/dev/null", O_WRONLY); in TEST_F()