Home | History | Annotate | Download | only in streams

Lines Matching refs:open_flags

213   int open_flags = O_CLOEXEC;
216 open_flags |= O_RDONLY;
219 open_flags |= O_WRONLY;
222 open_flags |= O_RDWR;
231 open_flags |= O_CREAT | O_TRUNC;
234 open_flags |= O_CREAT | O_EXCL;
237 open_flags |= O_TRUNC;
242 int fd = HANDLE_EINTR(open(path.value().c_str(), open_flags, creation_mode));
263 // The "proper" solution would be here to add O_TMPFILE flag to |open_flags|
272 int open_flags = O_CLOEXEC | O_RDWR | O_CREAT | O_TRUNC;
274 int fd = HANDLE_EINTR(open(path.value().c_str(), open_flags, creation_mode));