Lines Matching refs:file_flag
104 int dochild1(int file_flag, int file_mode) in dochild1() argument
109 if ((fd_B = open(tmpname, file_flag, file_mode)) < 0) { in dochild1()
184 int dofork(int file_flag, int file_mode) in dofork() argument
195 if (self_exec(argv0, "nddds", 1, file_flag, file_mode, in dofork()
201 dochild1(file_flag, file_mode); in dofork()
241 int dochild2(int file_flag, int file_mode, int dup_flag) in dochild2() argument
246 if ((fd_C = open(tmpname, file_flag, file_mode)) < 0) { in dochild2()
359 int run_test(int file_flag, int file_mode, int dup_flag) in run_test() argument
384 if ((fd_A = open(tmpname, file_flag, file_mode)) < 0) { in run_test()
395 dofork(file_flag, file_mode); in run_test()
397 if ((fd_B = open(tmpname, file_flag, file_mode)) < 0) { in run_test()
450 if (self_exec(argv0, "ndddds", 2, file_flag, file_mode, in run_test()
454 dochild2(file_flag, file_mode, dup_flag); in run_test()