Home
last modified time | relevance | path

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

/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dflags.c60 m = O_WRONLY; in __sflags()
66 m = O_WRONLY; in __sflags()
/bionic/libc/bionic/
Dbionic_systrace.cpp48 g_trace_marker_fd = open("/sys/kernel/debug/tracing/trace_marker", O_CLOEXEC | O_WRONLY); in get_trace_marker_fd()
Dpthread_setname_np.cpp95 int fd = __open_task_comm_fd(t, O_WRONLY, "pthread_setname_np"); in pthread_setname_np()
Dopen.cpp51 return open(pathname, O_CREAT | O_TRUNC | O_WRONLY, mode); in creat()
/bionic/libc/kernel/uapi/asm-generic/
Dfcntl.h24 #define O_WRONLY 00000001 macro
/bionic/tests/headers/posix/
Dfcntl_h.c83 MACRO(O_WRONLY); in fcntl_h()
/bionic/libc/stdio/
Dfmemopen.cpp133 (flags & O_WRONLY) ? nullptr : fmemopen_read, in fmemopen()
/bionic/libc/malloc_debug/
DRecordData.cpp138 open(dump_file_.c_str(), O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC | O_NOFOLLOW, 0755); in Dump()
/bionic/tests/
Dfortify_test.cpp621 int fd = open("/dev/null", O_WRONLY); in TEST_F()
629 int fd = open("/dev/null", O_WRONLY); in TEST_F()
645 int fd = open("/dev/null", O_WRONLY); in TEST_F()
Dstdlib_test.cpp647 int fd = open("/dev/null", O_WRONLY); in TEST()
676 int fd = open("/dev/null", O_WRONLY); in TEST()
/bionic/docs/
Dfdsan.md20 int fd = open("log", O_WRONLY | O_APPEND);
32 open("log", O_WRONLY | APPEND) = 123