Searched refs:O_TRUNC (Results 1 - 19 of 19) sorted by relevance
/fuchsia/zircon/third_party/ulib/musl/src/fcntl/ |
H A D | creat.c | 4 return open(path, O_CREAT | O_WRONLY | O_TRUNC, mode);
|
/fuchsia/zircon/system/utest/posixio/ |
H A D | main.cpp | 51 O_TRUNC, 52 O_APPEND | O_TRUNC, 53 O_CLOEXEC | O_TRUNC, 54 O_APPEND | O_CLOEXEC | O_TRUNC,
|
/fuchsia/zircon/third_party/ulib/musl/src/stdio/ |
H A D | __fmodeflags.c | 19 flags |= O_TRUNC;
|
/fuchsia/zircon/third_party/lib/acpica/source/include/acpica/platform/ |
H A D | acmsvc.h | 71 #define O_TRUNC _O_TRUNC macro
|
/fuchsia/zircon/system/utest/fs/ |
H A D | test-access.cpp | 102 ASSERT_LT(open(filename, O_RDONLY | O_TRUNC | O_CREAT, 0644), 0); 174 fd = open(filename, O_RDWR | O_CREAT | O_EXCL | O_TRUNC | O_PATH);
|
H A D | test-truncate.cpp | 60 // Check that opening a file with O_TRUNC makes it empty 61 int fd2 = open(filename, O_RDWR | O_TRUNC, 0644);
|
/fuchsia/zircon/system/ulib/runtests-utils/ |
H A D | posix-run-test.cpp | 86 O_WRONLY | O_CREAT | O_TRUNC, 0644))) {
|
/fuchsia/zircon/third_party/ulib/musl/include/ |
H A D | fcntl.h | 50 #define O_TRUNC 0x00040000 macro
|
/fuchsia/zircon/system/core/netsvc/ |
H A D | netfile.c | 88 netfile.fd = open(netfile.filename, O_WRONLY|O_CREAT|O_TRUNC);
|
/fuchsia/zircon/system/uapp/lz4/ |
H A D | main.c | 20 #define WR_NEWFILE O_WRONLY | O_CREAT | O_TRUNC
|
/fuchsia/zircon/system/utest/fs-host/ |
H A D | test-truncate.cpp | 48 // Check that opening a file with O_TRUNC makes it empty 49 int fd2 = emu_open(filename, O_RDWR | O_TRUNC, 0644);
|
/fuchsia/zircon/system/host/netprotocol/ |
H A D | netcp.c | 66 int fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
|
/fuchsia/zircon/system/ulib/tftp/ |
H A D | tftp-example.c | 181 int fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC,
|
/fuchsia/zircon/third_party/uapp/dash/src/ |
H A D | redir.c | 209 if ((f = open(fname, O_WRONLY|O_CREAT|O_TRUNC, 0666)) < 0)
|
/fuchsia/zircon/system/ulib/fs-host/ |
H A D | common.cpp | 391 depfile_.reset(open(buf, O_CREAT|O_TRUNC|O_WRONLY, 0644));
|
/fuchsia/zircon/system/ulib/minfs/ |
H A D | host.cpp | 202 if (flags & O_TRUNC) {
|
/fuchsia/zircon/third_party/uapp/mkfs-msdosfs/ |
H A D | mkfs_msdos.c | 215 fd = open(fname, O_RDWR | O_CREAT | O_TRUNC, 0644);
|
/fuchsia/zircon/system/host/zbi/ |
H A D | zbi.cpp | 272 fbl::unique_fd fd(open(outfile, O_WRONLY | O_CREAT | O_TRUNC, 0666)); 275 fd.reset(open(outfile, O_WRONLY | O_CREAT | O_TRUNC, 0666));
|
/fuchsia/zircon/system/ulib/fdio/ |
H A D | unistd.c | 172 static_assert(O_TRUNC == ZX_FS_FLAG_TRUNCATE, "Open Flag mismatch"); 178 #define ZXIO_FS_MASK (O_PATH | O_ADMIN | O_CREAT | O_EXCL | O_TRUNC | \
|
Completed in 136 milliseconds