Lines Matching full:fname
104 char fname[255];
141 * Call fcntl(2) with F_SETLEASE & F_WRLCK argument on fname
149 fname, TEST_ERRNO, strerror(TEST_ERRNO));
155 fname, TEST_RETURN);
161 fname, TEST_RETURN);
165 fname);
189 sprintf(fname, "tfile_%d", getpid());
190 if ((fd = open(fname, O_WRONLY | O_CREAT, 0777)) == -1) {
193 fname, errno, strerror(errno));
206 tst_resm(TWARN, "close(%s) Failed, errno=%d : %s", fname, errno,