Searched refs:O_WRONLY (Results 1 – 11 of 11) sorted by relevance
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | flags.c | 60 m = O_WRONLY; in __sflags() 66 m = O_WRONLY; in __sflags()
|
/bionic/libc/bionic/ |
D | bionic_systrace.cpp | 48 g_trace_marker_fd = open("/sys/kernel/debug/tracing/trace_marker", O_CLOEXEC | O_WRONLY); in get_trace_marker_fd()
|
D | pthread_setname_np.cpp | 95 int fd = __open_task_comm_fd(t, O_WRONLY, "pthread_setname_np"); in pthread_setname_np()
|
D | open.cpp | 51 return open(pathname, O_CREAT | O_TRUNC | O_WRONLY, mode); in creat()
|
/bionic/libc/kernel/uapi/asm-generic/ |
D | fcntl.h | 24 #define O_WRONLY 00000001 macro
|
/bionic/tests/headers/posix/ |
D | fcntl_h.c | 83 MACRO(O_WRONLY); in fcntl_h()
|
/bionic/libc/stdio/ |
D | fmemopen.cpp | 133 (flags & O_WRONLY) ? nullptr : fmemopen_read, in fmemopen()
|
/bionic/libc/malloc_debug/ |
D | RecordData.cpp | 138 open(dump_file_.c_str(), O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC | O_NOFOLLOW, 0755); in Dump()
|
/bionic/tests/ |
D | fortify_test.cpp | 621 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()
|
D | stdlib_test.cpp | 647 int fd = open("/dev/null", O_WRONLY); in TEST() 676 int fd = open("/dev/null", O_WRONLY); in TEST()
|
/bionic/docs/ |
D | fdsan.md | 20 int fd = open("log", O_WRONLY | O_APPEND); 32 open("log", O_WRONLY | APPEND) = 123
|