Searched refs:O_WRONLY (Results 1 - 25 of 111) sorted by last modified time

12345

/haiku/src/add-ons/kernel/file_systems/ramfs/
H A Dkernel_interface.cpp1009 if (error == B_OK && rwMode != O_WRONLY && rwMode != O_RDWR)
/haiku/src/add-ons/kernel/drivers/audio/cmedia/
H A Dpcm.c494 else if ((flags & 3) == O_WRONLY) {
/haiku/src/system/kernel/fs/
H A Dvfs.cpp2801 if ((openMode & O_RDWR) != 0 && (openMode & O_WRONLY) != 0)
6309 || ((descriptor->open_mode & O_RWMASK) == O_WRONLY
9549 fds[1] = open_vnode(vnode, O_WRONLY, false);
9759 O_CREAT | O_WRONLY | (pos != 0 ? 0 : O_TRUNC), false);
H A Dfd.cpp695 : (descriptor->open_mode & O_RWMASK) == O_WRONLY) {
753 : (descriptor->open_mode & O_RWMASK) == O_WRONLY) {
999 if ((descriptor->open_mode & O_RWMASK) == O_WRONLY)
1041 if ((descriptor->open_mode & O_RWMASK) == O_WRONLY)
H A Dfifo.cpp636 if ((openMode & O_ACCMODE) == O_WRONLY || (openMode & O_ACCMODE) == O_RDWR)
671 if ((openMode & O_ACCMODE) == O_WRONLY || (openMode & O_ACCMODE) == O_RDWR) {
705 } else if ((openMode & O_RWMASK) == O_RDWR || (openMode & O_RWMASK) == O_WRONLY) {
737 } else if ((openMode & O_RWMASK) == O_RDWR || (openMode & O_RWMASK) == O_WRONLY) {
/haiku/src/system/kernel/vm/
H A Dvm.cpp2185 if ((openMode & O_ACCMODE) == O_WRONLY
/haiku/headers/posix/
H A Dfcntl.h35 #define O_WRONLY 0x0001 /* write only */ macro
/haiku/src/add-ons/accelerants/intel_extreme/
H A Daccelerant.cpp61 int fd = open(filename, O_CREAT | O_WRONLY, 0644);
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/fuse/
H A DFUSEVolume.cpp1040 FileCookie alternativeCookie(requestInfo.isWrite ? O_WRONLY : O_RDONLY);
/haiku/src/apps/haikudepot/util/
H A DStorageUtils.cpp105 BFile file(path.Path(), O_WRONLY | O_CREAT | O_APPEND);
324 BFile file(path.Path(), O_WRONLY | O_CREAT);
/haiku/src/tests/system/network/tcp_shell/
H A Dtcp_shell.cpp1194 sPcapFD = open(file, O_CREAT | O_WRONLY | O_TRUNC);
/haiku/src/apps/haikudepot/server/
H A DAbstractServerProcess.cpp289 BFile tmpFile(tmpPath, O_WRONLY | O_CREAT);
342 BFile targetFile(targetFilePath.Path(), O_WRONLY | O_CREAT);
/haiku/src/system/kernel/debug/
H A Ddebug.cpp1450 int fd = open("/var/log/previous_syslog", O_WRONLY | O_CREAT | O_TRUNC,
H A Dcore_dump.cpp590 fFd = open(path, O_WRONLY | O_CREAT | O_EXCL, S_IRUSR);
/haiku/src/add-ons/kernel/file_systems/ntfs/
H A Dkernel_interface.cpp896 ASSERT((cookie->open_mode & O_WRONLY) != 0 || (cookie->open_mode & O_RDWR) != 0);
/haiku/src/servers/launch/
H A DLaunchDaemon.cpp2148 open_stdio(STDOUT_FILENO, O_WRONLY);
/haiku/src/add-ons/media/media-add-ons/opensound/
H A DOpenSoundDeviceEngine.cpp71 omode = O_WRONLY;
/haiku/src/add-ons/kernel/file_systems/iso9660/
H A Dkernel_interface.cpp515 if ((openMode & O_RWMASK) == O_WRONLY || (openMode & O_RWMASK) == O_RDWR
/haiku/src/add-ons/kernel/file_systems/cdda/
H A Dkernel_interface.cpp469 bool create = (mode & O_WRONLY) != 0;
939 int fd = _OpenAttributes(O_WRONLY);
990 int fd = _OpenAttributes(O_WRONLY, kSharedAttributes);
996 fd = _OpenAttributes(O_WRONLY, kDeviceAttributes);
/haiku/src/add-ons/kernel/file_cache/
H A Dlog.cpp382 sLogFile = open(name, O_WRONLY | O_CREAT | O_EXCL, DEFFILEMODE);
H A Dlaunch_speedup.cpp597 int fd = open(name, O_CREAT | O_TRUNC | O_WRONLY, 0644);
/haiku/src/add-ons/kernel/file_systems/netfs/server/
H A DClientConnection.cpp885 openMode = (openMode & ~O_RWMASK) | O_WRONLY;
892 } else if ((openMode & O_RWMASK) == O_WRONLY) {
/haiku/src/bin/debug/strace/
H A Dfcntl.cpp21 FLAG_INFO_ENTRY(O_WRONLY),
/haiku/src/build/libroot/
H A Dfs.cpp1524 return _haiku_build_open(path, O_WRONLY | O_CREAT | O_TRUNC, mode);
/haiku/headers/private/file_systems/
H A Dfs_ops_support.h25 if (openMode == O_WRONLY)

Completed in 358 milliseconds

12345