Searched refs:O_WRONLY (Results 1 – 5 of 5) sorted by relevance
53 # define O_ACCMODE (O_RDONLY|O_WRONLY|O_RDWR)86 case O_WRONLY: in flag_to_openmode()169 flags = O_WRONLY | O_CREAT | O_TRUNC; in _M_open()173 flags = O_WRONLY | O_CREAT | O_APPEND; in _M_open()
40 # define O_ACCMODE (O_RDONLY|O_WRONLY|O_RDWR)52 case O_WRONLY: in flag_to_openmode()155 mode |= O_WRONLY;184 mode |= O_WRONLY;
71 # define O_WRONLY _O_WRONLY macro81 # define O_ACCMODE (O_RDONLY|O_WRONLY|O_RDWR)
46 } else if ((oflag & O_WRONLY) == O_WRONLY) { in mapfile_open()
877 fd = open (*name, O_CREAT|O_EXCL|O_WRONLY, 0600); in open_tmpfile()