Lines Matching refs:oflags
49 test_one(int oflags) in test_one() argument
56 fd = mkostemp(tmpf, oflags); in test_one()
60 testnum++, oflags, strerror(errno)); in test_one()
66 testnum++, oflags, tmpf); in test_one()
71 (oflags & O_CLOEXEC ? FD_CLOEXEC : 0)) { in test_one()
74 testnum++, oflags); in test_one()
77 if ((fcntl(fd, F_GETFL) & MISCFLAGS) != (oflags & MISCFLAGS)) { in test_one()
80 testnum++, oflags); in test_one()
86 testnum++, oflags, tmpf, strerror(errno)); in test_one()
92 testnum++, oflags, fd, strerror(errno)); in test_one()
99 testnum++, oflags); in test_one()
106 testnum++, oflags); in test_one()
112 testnum++, oflags); in test_one()
119 testnum++, oflags, fd, strerror(errno)); in test_one()
123 testnum++, oflags); in test_one()
125 printf("ok %d - oflags=%#x\n", testnum++, oflags); in test_one()