Home
last modified time | relevance | path

Searched refs:O_TRUNC (Results 1 – 8 of 8) sorted by relevance

/bionic/libc/kernel/uapi/asm-generic/
Dfcntl.h39 #ifndef O_TRUNC
40 #define O_TRUNC 00001000 macro
/bionic/libc/kernel/uapi/asm-mips/asm/
Dfcntl.h27 #define O_TRUNC 0x0200 macro
/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dflags.c61 o = O_CREAT | O_TRUNC; in __sflags()
Dfmemopen.c161 if (oflags & O_TRUNC) in fmemopen()
/bionic/libc/bionic/
Dopen.cpp47 return open(pathname, O_CREAT | O_TRUNC | O_WRONLY, mode); in creat()
/bionic/tests/
Dftw_test.cpp48 ASSERT_NE(-1, fd = open(path, O_CREAT|O_TRUNC, 0666)); in MakeTree()
Ddlext_test.cpp427 int relro_fd = open(relro_file, O_RDWR | O_TRUNC); in CreateRelroFile()
/bionic/libc/malloc_debug/
DRecordData.cpp144 int dump_fd = open(dump_file_.c_str(), O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC | O_NOFOLLOW, in Dump()