Lines Matching refs:O_RDWR
62 masterfd = SAFE_OPEN(NULL, MASTERCLONE, O_RDWR); in test1()
77 if ((slavefd = open(slavename, O_RDWR)) < 0) { in test1()
141 masterfd = SAFE_OPEN(NULL, MASTERCLONE, O_RDWR); in test2()
156 if ((slavefd = open(slavename, O_RDWR)) < 0) { in test2()
219 masterfd = SAFE_OPEN(NULL, MASTERCLONE, O_RDWR); in test3()
234 if ((slavefd = open(slavename, O_RDWR)) < 0) { in test3()
267 masterfd = SAFE_OPEN(NULL, MASTERCLONE, O_RDWR); in test4()
282 if ((slavefd = open(slavename, O_RDWR)) < 0) { in test4()
286 if ((slavefd2 = open(slavename, O_RDWR)) < 0) { in test4()
290 if ((slavefd3 = open(slavename, O_RDWR)) < 0) { in test4()
326 masterfd[i] = open(MASTERCLONE, O_RDWR); in test5()
356 if ((slavefd[i] = open(slavename, O_RDWR)) < 0) { in test5()
388 masterfd = SAFE_OPEN(NULL, MASTERCLONE, O_RDWR); in test6()
403 if ((slavefd = open(slavename, O_RDWR)) < 0) { in test6()