Searched refs:O_APPEND (Results 1 - 12 of 12) sorted by relevance

/fuchsia/zircon/system/utest/fs/
H A Dtest-fcntl.cpp21 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 Dtest-append.cpp55 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 Dtest-access.cpp186 ASSERT_EQ(fcntl(fd, F_SETFL, flags | O_APPEND), 0);
189 ASSERT_EQ(flags & ~O_ACCMODE, O_APPEND);
H A Dtest-mmap.cpp359 fd = open("::myfile", O_RDONLY | O_APPEND);
/fuchsia/zircon/system/utest/posixio/
H A Dmain.cpp48 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.c21 flags |= O_APPEND;
H A D__fdopen.c41 if (!(flags & O_APPEND))
42 fcntl(fd, F_SETFL, flags | O_APPEND);
/fuchsia/zircon/third_party/ulib/musl/include/
H A Dfcntl.h52 #define O_APPEND 0x00100000 macro
152 #define FAPPEND O_APPEND
/fuchsia/zircon/third_party/uapp/dash/src/
H A Dshow.c356 #ifdef O_APPEND
398 #ifdef O_APPEND
400 fcntl(fileno(tracefile), F_SETFL, flags | O_APPEND); local
H A Dredir.c214 if ((f = open(fname, O_WRONLY|O_CREAT|O_APPEND, 0666)) < 0)
/fuchsia/zircon/system/ulib/minfs/
H A Dhost.cpp205 if (flags & O_APPEND) {
216 if (flags & O_APPEND) {
/fuchsia/zircon/system/ulib/fdio/
H A Dunistd.c174 static_assert(O_APPEND == ZX_FS_FLAG_APPEND, "Open Flag mismatch");
179 O_DIRECTORY | O_APPEND | O_NOREMOTE)

Completed in 105 milliseconds