Lines Matching refs:dup
27 HOW: Creat a file with each access mode; dup each file descriptor;
65 if ((duprdo = dup(rdoret)) == -1) {
66 tst_resm(TFAIL, "Unable to dup '%s'", testfile);
72 "rdonly and dup do not match");
87 if ((dupwro = dup(wroret)) == -1) {
88 tst_resm(TFAIL, "Unable to dup '%s'", testfile);
94 "wronly and dup do not match");
110 if ((duprdwr = dup(rdwret)) == -1) {
111 tst_resm(TFAIL, "Unable to dup '%s'", testfile);
117 "rdwr and dup do not match");