Searched refs:O_APPEND (Results 1 - 12 of 12) sorted by relevance
/fuchsia/zircon/system/utest/fs/ |
H A D | test-fcntl.cpp | 21 int fd = open("::file", O_APPEND | O_RDWR | O_CREAT, 0644); 24 // Do a quick check that O_APPEND is appending 35 // Use F_GETFL; observe O_APPEND 39 ASSERT_EQ(flags & ~O_ACCMODE, O_APPEND, "Status flags did not match"); 41 // Use F_SETFL; turn off O_APPEND 42 ASSERT_EQ(fcntl(fd, F_SETFL, flags & ~O_APPEND), 0, "Fcntl failed"); 44 // Use F_GETFL; observe O_APPEND has been turned off 65 int fd = open("::file", O_APPEND | O_RDWR | O_CREAT, 0644); 77 // Use F_GETFL; observe O_APPEND 81 ASSERT_EQ(flags & ~O_ACCMODE, O_APPEND, "Statu [all...] |
H A D | test-append.cpp | 55 fd = open("::alpha", O_RDWR | O_CREAT | O_APPEND, 0644); 110 // appends to the end if the file was opened as O_APPEND. 112 ASSERT_EQ(fcntl(fd.get(), F_GETFL), O_APPEND | O_RDWR); 126 fbl::unique_fd fd(open("::append_clone", O_RDWR | O_CREAT | O_APPEND)); 134 ASSERT_EQ(fcntl(fd.get(), F_SETFL, O_APPEND), 0); 169 int fd = open("::append-atomic", O_WRONLY | O_CREAT | O_APPEND);
|
H A D | test-access.cpp | 186 ASSERT_EQ(fcntl(fd, F_SETFL, flags | O_APPEND), 0); 189 ASSERT_EQ(flags & ~O_ACCMODE, O_APPEND);
|
H A D | test-mmap.cpp | 359 fd = open("::myfile", O_RDONLY | O_APPEND);
|
/fuchsia/zircon/system/utest/posixio/ |
H A D | main.cpp | 48 O_APPEND, 50 O_APPEND | O_CLOEXEC, 52 O_APPEND | O_TRUNC, 54 O_APPEND | O_CLOEXEC | O_TRUNC,
|
/fuchsia/zircon/third_party/ulib/musl/src/stdio/ |
H A D | __fmodeflags.c | 21 flags |= O_APPEND;
|
H A D | __fdopen.c | 41 if (!(flags & O_APPEND)) 42 fcntl(fd, F_SETFL, flags | O_APPEND);
|
/fuchsia/zircon/third_party/ulib/musl/include/ |
H A D | fcntl.h | 52 #define O_APPEND 0x00100000 macro 152 #define FAPPEND O_APPEND
|
/fuchsia/zircon/third_party/uapp/dash/src/ |
H A D | show.c | 356 #ifdef O_APPEND 398 #ifdef O_APPEND 400 fcntl(fileno(tracefile), F_SETFL, flags | O_APPEND); local
|
H A D | redir.c | 214 if ((f = open(fname, O_WRONLY|O_CREAT|O_APPEND, 0666)) < 0)
|
/fuchsia/zircon/system/ulib/minfs/ |
H A D | host.cpp | 205 if (flags & O_APPEND) { 216 if (flags & O_APPEND) {
|
/fuchsia/zircon/system/ulib/fdio/ |
H A D | unistd.c | 174 static_assert(O_APPEND == ZX_FS_FLAG_APPEND, "Open Flag mismatch"); 179 O_DIRECTORY | O_APPEND | O_NOREMOTE)
|
Completed in 105 milliseconds