Lines Matching refs:O_APPEND
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);
141 show_prompt("open(O_WRONLY | O_TRUNC | O_APPEND)");
142 fd = open(REWRITE_PATH, O_WRONLY | O_TRUNC | O_APPEND);
149 fd = open(REWRITE_PATH, O_WRONLY | O_APPEND);
153 show_prompt("fcntl(F_SETFL, ~O_APPEND)");
154 show_result(fcntl(fd, F_SETFL, fcntl(fd, F_GETFL) & ~O_APPEND));