Home
last modified time | relevance | path

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

/bionic/libc/upstream-freebsd/lib/libc/stdio/
Dflags.c66 m = O_WRONLY; in __sflags()
72 m = O_WRONLY; in __sflags()
/bionic/libc/bionic/
Dpthread_setname_np.cpp70 int fd = open(comm_name, O_WRONLY); in pthread_setname_np()
Dopen.cpp47 return open(pathname, O_CREAT | O_TRUNC | O_WRONLY, mode); in creat()
Dlibc_logging.cpp428 int fd = TEMP_FAILURE_RETRY(open("/dev/stderr", O_CLOEXEC | O_WRONLY)); in __libc_write_stderr()
520 int main_log_fd = TEMP_FAILURE_RETRY(open("/dev/log/main", O_CLOEXEC | O_WRONLY)); in __libc_write_log()
592 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.cpp329 int fd = open("/dev/null", O_WRONLY); in TEST()
358 int fd = open("/dev/null", O_WRONLY); in TEST()