Home | History | Annotate | Download | only in fcntl

Lines Matching full:fname

127 char fname[255];
157 * Call fcntl(2) with F_SETLK argument on fname
165 fname, type ? "F_RDLCK" : "F_WRLCK",
171 fname,
178 * Call fcntl(2) with F_SETLK argument on fname
186 fname, TEST_ERRNO,
191 fname, TEST_RETURN);
213 sprintf(fname, "./file_%d", getpid());
214 if ((fd = creat(fname, 0644)) == -1) {
216 "creat(%s, 0644) Failed, errno=%d : %s", fname, errno,
220 fname, errno, strerror(errno));
221 } else if ((fd = open(fname, O_RDWR, 0700)) == -1) {
223 "open(%s, O_RDWR,0700) Failed, errno=%d : %s", fname,
240 tst_resm(TWARN, "close(%s) Failed, errno=%d : %s", fname, errno,
242 } else if (unlink(fname) == -1) {
243 tst_resm(TWARN, "unlink(%s) Failed, errno=%d : %s", fname,