Searched refs:O_TRUNC (Results 26 - 50 of 91) sorted by relevance

1234

/haiku/src/add-ons/kernel/drivers/video/usb_vision/
H A Dtracing.c56 int flags = O_WRONLY | O_CREAT | ((!b_log_append) ? O_TRUNC : 0);
/haiku/src/system/libroot/posix/
H A Dfcntl.cpp26 _kern_open(-1, path, O_CREAT | O_TRUNC | O_WRONLY, mode & ~__gUmask));
/haiku/src/add-ons/kernel/drivers/network/ether/usb_asix/
H A DSettings.cpp37 int flags = O_WRONLY | O_CREAT | ((gTruncateLogFile) ? O_TRUNC : 0);
/haiku/src/add-ons/kernel/partitioning_systems/session/
H A DDebug.cpp268 fFile = open(filename, O_RDWR | O_CREAT | O_TRUNC);
/haiku/src/add-ons/kernel/file_systems/udf/
H A DUdfDebug.cpp270 fFile = open(filename, O_RDWR | O_CREAT | O_TRUNC);
/haiku/src/bin/debug/strace/
H A Dfcntl.cpp26 FLAG_INFO_ENTRY(O_TRUNC),
/haiku/headers/posix/
H A Dfcntl.h43 #define O_TRUNC 0x0400 /* open with truncation */ macro
/haiku/src/add-ons/kernel/file_systems/bfs/
H A DAttribute.cpp73 | (openMode & O_TRUNC ? W_OK : 0));
143 if (exists && (openMode & O_TRUNC) != 0)
172 if ((openMode & O_TRUNC) != 0)
/haiku/src/add-ons/kernel/file_systems/ext2/
H A DAttribute.cpp68 | (openMode & O_TRUNC ? W_OK : 0));
136 if ((openMode & O_TRUNC) != 0)
166 if ((openMode & O_TRUNC) != 0)
/haiku/src/tests/add-ons/kernel/file_systems/fragmenter/
H A Dfragmenter.cpp47 int fd = open(name, O_CREAT | O_WRONLY | O_TRUNC, 0644);
/haiku/src/add-ons/kernel/file_systems/nfs4/
H A DInodeRegular.cpp166 if ((mode & O_TRUNC) == O_TRUNC) {
281 if (create || (mode & O_TRUNC) == O_TRUNC) {
/haiku/src/add-ons/kernel/drivers/network/ether/usb_davicom/
H A DSettings.cpp38 int flags = O_WRONLY | O_CREAT | ((gTruncateLogFile) ? O_TRUNC : 0);
/haiku/src/bin/fwcontrol/
H A Dfwmpegts.c177 fd = open(filename, O_CREAT | O_WRONLY | O_TRUNC, 0660);
/haiku/src/bin/
H A Dmvattr.cpp83 O_CREAT | O_WRONLY | O_TRUNC);
/haiku/src/libs/stdc++/legacy/
H A Dfilebuf.cc107 posix_mode |= O_TRUNC;
/haiku/src/add-ons/kernel/file_systems/btrfs/
H A DAttribute.cpp53 | (openMode & O_TRUNC ? W_OK : 0));
/haiku/src/add-ons/kernel/file_systems/websearchfs/
H A Dduckduckgo_request.cpp80 fd = open("/tmp/duckduckgo.html", O_CREAT|O_TRUNC|O_RDWR, 0644);
/haiku/src/tests/system/network/multicast/
H A Dmulticat.c91 out_fd = open(optarg, O_CREAT | O_TRUNC | O_WRONLY, 0666);
330 fd = open(filename, O_CREAT | O_TRUNC | O_WRONLY, 0666);
/haiku/src/tests/add-ons/kernel/file_systems/random_file_actions/
H A Drandom_file_actions.cpp562 int fd = open_file(name, O_RDWR | O_CREAT | O_TRUNC);
660 int fd = open_file(file.name, O_CREAT | O_WRONLY | O_TRUNC);
686 int fd = open_file(file.name, O_WRONLY | O_TRUNC);
/haiku/src/tests/add-ons/kernel/file_systems/consistency_check/
H A Dgenerate_hashs.cpp197 int file = open(name, O_WRONLY | O_TRUNC | O_CREAT);
/haiku/src/tools/fs_shell/
H A Dstat_util.cpp215 SET_OPEN_MODE_FLAG(O_TRUNC, FSSH_O_TRUNC)
/haiku/src/tools/anyboot/
H A Danyboot.cpp230 int outputFileHandle = open(outputFile, O_WRONLY | O_TRUNC | O_CREAT,
/haiku/src/libs/gnu/
H A Dxattr.cpp139 int openMode = O_WRONLY | O_TRUNC;
/haiku/src/add-ons/kernel/busses/scsi/usb/
H A Dtracing.c139 int flags = O_WRONLY | O_CREAT | ((!b_log_append) ? O_TRUNC : 0);
/haiku/src/add-ons/kernel/file_systems/netfs/server/
H A DNodeHandle.cpp102 openMode &= O_RWMASK | O_TRUNC | O_APPEND;

Completed in 421 milliseconds

1234