HomeSort by relevance Sort by last modified time
    Searched refs:O_APPEND (Results 1 - 25 of 150) sorted by null

1 2 3 4 5 6

  /external/toybox/toys/posix/
nohup.c 28 if (-1 == open("nohup.out", O_CREAT|O_APPEND|O_WRONLY,
34 xcreate(temp, O_CREAT|O_APPEND|O_WRONLY, 0600);
tee.c 52 O_RDWR|O_CREAT|WARN_ONLY|(FLAG(a)?O_APPEND:O_TRUNC),
  /external/ltp/testcases/kernel/security/tomoyo/
tomoyo_rewrite_test.c 71 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...]
tomoyo_new_test.c 220 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_CREAT | O_RDWR, 0600)
    [all...]
  /external/ltp/testcases/kernel/syscalls/fcntl/
fcntl01.c 16 * 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);
fcntl08.c 67 TEST(fcntl(fd, F_SETFL, O_NDELAY | O_APPEND | O_NONBLOCK));
  /bionic/libc/upstream-openbsd/lib/libc/stdio/
flags.c 67 o = O_CREAT | O_APPEND;
  /device/linaro/bootloader/edk2/StdLib/LibC/Stdio/
fdopen.c 100 * O_APPEND bit set, assert __SAPP so that __swrite() will lseek to
103 if ((oflags & O_APPEND) && !(fdflags & O_APPEND))
flags.c 86 o = O_CREAT | O_APPEND;
fopen.c 96 * When opening in append mode, even though we use O_APPEND,
103 if (oflags & O_APPEND)
  /bionic/libc/kernel/uapi/asm-mips/asm/
fcntl.h 22 #define O_APPEND 0x0008
  /external/kernel-headers/original/uapi/asm-mips/asm/
fcntl.h 14 #define O_APPEND 0x0008
  /external/libxml2/win32/wince/
wincecompat.h 22 #define O_APPEND 0x0008 /* writes done at eof */
  /external/oj-libjdwp/src/solaris/javavm/export/
jvm_md.h 75 #define JVM_O_O_APPEND O_APPEND
  /bionic/libc/kernel/uapi/asm-generic/
fcntl.h 38 #ifndef O_APPEND
39 #define O_APPEND 00002000
  /external/kernel-headers/original/uapi/asm-generic/
fcntl.h 35 #ifndef O_APPEND
36 #define O_APPEND 00002000
  /external/u-boot/fs/yaffs2/
yportenv.h 121 #ifndef O_APPEND
122 #define O_APPEND 02000
  /device/google/cuttlefish_common/host/commands/logcat_receiver/
main.cpp 36 cvd::SharedFD::Open(path.c_str(), O_CREAT | O_APPEND | O_WRONLY, 0666);
  /device/linaro/bootloader/edk2/StdLib/Include/sys/
fcntl.h 70 #define O_APPEND 0x00000008 ///< set append mode
164 Any combination of { O_NONBLOCK, O_APPEND, O_CREAT, O_TRUNC, O_EXCL } may
  /external/toybox/toys/example/
logwrapper.c 51 i = xcreate(log, O_RDWR|O_CREAT|O_APPEND, 0644);
  /external/ltp/testcases/kernel/syscalls/open/
open12.c 19 * 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/
utimensat01.c 87 "descriptor with O_RDWR|O_APPEND\n"
142 oflag = O_RDWR | O_APPEND;
162 if (oflag & O_APPEND)
163 printf(" O_APPEND");
  /external/strace/xlat/
open_mode_flags.h 115 #if defined(O_APPEND) || (defined(HAVE_DECL_O_APPEND) && HAVE_DECL_O_APPEND)
117 static_assert((O_APPEND) == (010), "O_APPEND != 010");
120 # define O_APPEND 010
123 #if defined(O_APPEND) || (defined(HAVE_DECL_O_APPEND) && HAVE_DECL_O_APPEND)
125 static_assert((O_APPEND) == (02000), "O_APPEND != 02000");
128 # define O_APPEND 02000
628 XLAT(O_APPEND),
630 XLAT(O_APPEND),
    [all...]
  /bionic/tests/headers/posix/
fcntl_h.c 67 MACRO(O_APPEND);
  /external/honggfuzz/examples/terminal-emulators/
terminal-test.c 35 fd_log = open("./term.log", O_WRONLY | O_CREAT | O_APPEND, 0644);

Completed in 1668 milliseconds

1 2 3 4 5 6