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

1234

/external/toybox/toys/posix/
H A Dnohup.c27 if (-1 == open("nohup.out", O_CREAT|O_APPEND|O_WRONLY,
33 xcreate(temp, O_CREAT|O_APPEND|O_WRONLY, 0600);
H A Dtee.c52 O_RDWR|O_CREAT|WARN_ONLY|((toys.optflags & FLAG_a)?O_APPEND:O_TRUNC),
/external/syslinux/com32/include/
H A Dfcntl.h21 #define O_APPEND 02000 macro
/external/ltp/testcases/kernel/security/tomoyo/
H A Dtomoyo_rewrite_test.c71 close(open(REWRITE_PATH, O_WRONLY | O_APPEND | O_CREAT, 0600));
81 show_prompt("open(O_WRONLY | O_APPEND)");
82 fd = open(REWRITE_PATH, O_WRONLY | O_APPEND);
97 show_prompt("open(O_WRONLY | O_TRUNC | O_APPEND)");
98 fd = open(REWRITE_PATH, O_WRONLY | O_TRUNC | O_APPEND);
105 fd = open(REWRITE_PATH, O_WRONLY | O_APPEND);
109 show_prompt("fcntl(F_SETFL, ~O_APPEND)");
110 show_result(fcntl(fd, F_SETFL, fcntl(fd, F_GETFL) & ~O_APPEND));
126 show_prompt("open(O_WRONLY | O_APPEND)");
127 fd = open(REWRITE_PATH, O_WRONLY | O_APPEND);
[all...]
H A Dtomoyo_new_test.c220 result = open("/tmp/testfile4", O_APPEND | O_RDONLY, 0600);
225 result = open("/tmp/testfile5", O_APPEND | O_CREAT | O_RDONLY, 0600);
230 result = open("/tmp/testfile6", O_APPEND | O_TRUNC | O_RDONLY, 0600);
236 O_APPEND | O_TRUNC | O_CREAT | O_RDONLY, 0600);
261 result = open("/tmp/testfile12", O_APPEND | O_WRONLY, 0600);
266 result = open("/tmp/testfile13", O_APPEND | O_CREAT | O_WRONLY, 0600);
271 result = open("/tmp/testfile14", O_APPEND | O_TRUNC | O_WRONLY, 0600);
277 O_APPEND | O_TRUNC | O_CREAT | O_WRONLY, 0600);
302 result = open("/tmp/testfile20", O_APPEND | O_RDWR, 0600);
307 result = open("/tmp/testfile21", O_APPEND | O_CREA
[all...]
/external/syslinux/com32/lib/sys/
H A Derr_write.c52 .fileflags = O_WRONLY | O_CREAT | O_TRUNC | O_APPEND,
H A Dnull_write.c51 .fileflags = O_WRONLY | O_CREAT | O_TRUNC | O_APPEND,
H A Dansiserial_write.c55 .fileflags = O_WRONLY | O_CREAT | O_TRUNC | O_APPEND,
H A Drawcon_write.c60 .fileflags = O_WRONLY | O_CREAT | O_TRUNC | O_APPEND,
H A Dserial_write.c63 .fileflags = O_WRONLY | O_CREAT | O_TRUNC | O_APPEND,
H A Dzfopen.c25 flags = O_WRONLY | O_CREAT | O_APPEND;
H A Dstdcon_write.c80 .fileflags = O_WRONLY | O_CREAT | O_TRUNC | O_APPEND,
H A Dvesaserial_write.c56 .fileflags = O_WRONLY | O_CREAT | O_TRUNC | O_APPEND,
/external/ltp/testcases/kernel/syscalls/fcntl/
H A Dfcntl01.c16 * 2. Checking F_SETFL cmd with each valid flag (O_NDELAY, O_APPEND).
111 if (fcntl(fd[2], F_SETFL, O_APPEND) == -1)
112 tst_resm(TFAIL | TERRNO, "fcntl(.., O_APPEND) failed");
115 if ((flags & (O_APPEND | O_WRONLY)) == 0)
117 flags, O_APPEND | O_WRONLY);
120 if (fcntl(fd[2], F_SETFL, O_NDELAY | O_APPEND) < 0)
121 tst_resm(TFAIL, "fcntl(.., O_NDELAY|O_APPEND) failed");
124 if ((flags & (O_NDELAY | O_APPEND | O_WRONLY)) == 0)
127 O_NDELAY | O_APPEND | O_SYNC | O_WRONLY);
H A Dfcntl08.c67 TEST(fcntl(fd, F_SETFL, O_NDELAY | O_APPEND | O_NONBLOCK));
/external/syslinux/com32/lib/
H A Dfopen.c24 flags = O_WRONLY | O_CREAT | O_APPEND;
H A Dfopendev.c24 flags = O_WRONLY | O_CREAT | O_APPEND;
/external/syslinux/gpxe/src/util/
H A Dpadimg.pl33 sysopen ( my $fh, $filename, ( O_WRONLY | O_APPEND ) )
/external/kernel-headers/original/uapi/asm-mips/asm/
H A Dfcntl.h13 #define O_APPEND 0x0008 macro
/external/libxml2/win32/wince/
H A Dwincecompat.h22 #define O_APPEND 0x0008 /* writes done at eof */ macro
/external/kernel-headers/original/uapi/asm-generic/
H A Dfcntl.h34 #ifndef O_APPEND
35 #define O_APPEND 00002000 macro
/external/strace/xlat/
H A Dopen_mode_flags.h22 #if defined(O_APPEND) || (defined(HAVE_DECL_O_APPEND) && HAVE_DECL_O_APPEND)
23 XLAT(O_APPEND),
/external/ltp/testcases/kernel/syscalls/open/
H A Dopen12.c19 * O_APPEND, O_NOATIME, O_CLOEXEC and O_LARGEFILE.
124 TEST(open(TEST_FILE, O_RDWR | O_APPEND, 0777));
137 tst_resm(TPASS, "test O_APPEND for open success");
139 tst_resm(TFAIL, "test O_APPEND for open failed");
194 TEST(open(TEST_FILE, O_RDWR | O_APPEND | O_CLOEXEC, 0777));
/external/ltp/testcases/kernel/syscalls/utimensat/
H A Dutimensat01.c87 "descriptor with O_RDWR|O_APPEND\n"
142 oflag = O_RDWR | O_APPEND;
162 if (oflag & O_APPEND)
163 printf(" O_APPEND");
/external/vboot_reference/futility/
H A Dfutility.c92 log_fd = open(LOGFILE, O_WRONLY | O_APPEND | O_CREAT, 0666);
94 log_fd = open(LOGFILE, O_WRONLY | O_APPEND);
103 log_fd = open(LOGFILE, O_WRONLY | O_APPEND | O_CREAT, 0666);

Completed in 1857 milliseconds

1234