Searched refs:O_TRUNC (Results 1 – 8 of 8) sorted by relevance
39 #ifndef O_TRUNC40 #define O_TRUNC 00001000 macro
27 #define O_TRUNC 0x0200 macro
61 o = O_CREAT | O_TRUNC; in __sflags()
161 if (oflags & O_TRUNC) in fmemopen()
47 return open(pathname, O_CREAT | O_TRUNC | O_WRONLY, mode); in creat()
48 ASSERT_NE(-1, fd = open(path, O_CREAT|O_TRUNC, 0666)); in MakeTree()
427 int relro_fd = open(relro_file, O_RDWR | O_TRUNC); in CreateRelroFile()
144 int dump_fd = open(dump_file_.c_str(), O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC | O_NOFOLLOW, in Dump()