Home
last modified time | relevance | path

Searched refs:O_WRONLY (Results 1 – 8 of 8) 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.cpp80 g_trace_marker_fd = open("/sys/kernel/debug/tracing/trace_marker", O_CLOEXEC | O_WRONLY); in get_trace_marker_fd()
Dlibc_logging.cpp431 int fd = TEMP_FAILURE_RETRY(open("/dev/stderr", O_CLOEXEC | O_WRONLY | O_APPEND)); in __libc_write_stderr()
521 int main_log_fd = TEMP_FAILURE_RETRY(open("/dev/log/main", O_CLOEXEC | O_WRONLY)); in __libc_write_log()
593 int event_log_fd = TEMP_FAILURE_RETRY(open("/dev/log/events", O_CLOEXEC | O_WRONLY)); in __libc_android_log_event()
/bionic/libc/kernel/uapi/asm-generic/
Dfcntl.h25 #define O_WRONLY 00000001 macro
/bionic/tests/
Dstdlib_test.cpp441 int fd = open("/dev/null", O_WRONLY); in TEST()
470 int fd = open("/dev/null", O_WRONLY); in TEST()