Home | History | Annotate | Download | only in fcntl

Lines Matching full:fname

127 char fname[255];
157 * Call fcntl(2) with F_SETLKW flocks.l_type = F_UNLCK argument on fname
165 fname, type ? "F_RDLCK" : "F_WRLCK",
170 fname, type ? "F_RDLCK" : "F_WRLCK",
176 * Call fcntl(2) with F_SETLKW flocks.l_type = F_UNLCK argument on fname
184 fname, TEST_ERRNO,
190 fname, TEST_RETURN);
212 sprintf(fname, "tfile_%d", getpid());
213 if ((fd = creat(fname, 0644)) == -1) {
215 "creat(%s, 0644) Failed, errno=%d : %s", fname, errno,
219 fname, errno, strerror(errno));
220 } else if ((fd = open(fname, O_RDWR, 0700)) == -1) {
222 "open(%s, O_RDWR,0700) Failed, errno=%d : %s", fname,
241 tst_resm(TWARN, "close(%s) Failed, errno=%d : %s", fname, errno,
243 } else if (unlink(fname) == -1) {
244 tst_resm(TWARN, "unlink(%s) Failed, errno=%d : %s", fname,