Searched refs:O_CREAT (Results 1 – 6 of 6) sorted by relevance
169 flags = O_WRONLY | O_CREAT | O_TRUNC; in _M_open()173 flags = O_WRONLY | O_CREAT | O_APPEND; in _M_open()183 flags = O_RDWR | O_CREAT | O_TRUNC; in _M_open()187 flags = O_RDWR | O_CREAT | O_APPEND; in _M_open()
74 # define O_CREAT _O_CREAT macro
269 fd = small_open (tmpl, O_RDWR | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR); in __gen_tempname()273 fd = large_open (tmpl, O_RDWR | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR); in __gen_tempname()
60 if ((oflag & O_CREAT) == O_CREAT) { in mapfile_open()
1056 int fd = open (file->name, O_RDWR | O_CREAT, 0666); in touch_file()
877 fd = open (*name, O_CREAT|O_EXCL|O_WRONLY, 0600); in open_tmpfile()