Lines Matching full:open
21 TC_PRINT("Open of non-existent file, flags = 0\n"); in test_file_open_flags()
22 fd = open(THE_FILE, 0); in test_file_open_flags()
31 TC_PRINT("Open on non-existent file, flags = O_RDONLY\n"); in test_file_open_flags()
32 fd = open(THE_FILE, O_RDONLY); in test_file_open_flags()
40 TC_PRINT("Open on non-existent file, flags = O_WRONLY\n"); in test_file_open_flags()
41 fd = open(THE_FILE, O_WRONLY); in test_file_open_flags()
50 TC_PRINT("Open on non-existent file, flags = O_RDWR\n"); in test_file_open_flags()
51 fd = open(THE_FILE, O_RDWR); in test_file_open_flags()
62 TC_PRINT("Open on non-existent file, flags = O_CREAT | O_WRONLY\n"); in test_file_open_flags()
63 fd = open(THE_FILE, O_CREAT | O_WRONLY, 0440); in test_file_open_flags()
91 TC_PRINT("Attempt open existing with flags = 0\n"); in test_file_open_flags()
92 fd = open(THE_FILE, 0); in test_file_open_flags()
120 TC_PRINT("Attempt open existing with flags = O_RDONLY\n"); in test_file_open_flags()
121 fd = open(THE_FILE, O_RDONLY); in test_file_open_flags()
149 TC_PRINT("Attempt open existing with flags = O_WRONLY\n"); in test_file_open_flags()
150 fd = open(THE_FILE, O_WRONLY); in test_file_open_flags()
177 TC_PRINT("Attempt open existing with flags = O_APPEND | O_WRONLY\n"); in test_file_open_flags()
178 fd = open(THE_FILE, O_APPEND | O_WRONLY); in test_file_open_flags()
205 TC_PRINT("Attempt open existing with flags = O_APPEND | O_RDWR\n"); in test_file_open_flags()
206 fd = open(THE_FILE, O_APPEND | O_RDWR); in test_file_open_flags()
239 fd = open(THE_FILE, O_CREAT | O_WRONLY, 0440); in test_file_open_flags()
255 fd = open(THE_FILE, O_APPEND | O_RDWR); in test_file_open_flags()
286 * @brief Test for POSIX open flags
288 * @details Test attempts to open file with different combinations of open