Lines Matching refs:lockinfo
294 struct flock lockinfo; /* File locking structure */
314 lockinfo.l_type = lktype;
315 lockinfo.l_whence = 0;
316 lockinfo.l_start = 0L;
317 lockinfo.l_len = 0L;
321 while ((fcntl(fileno(oam_dgroup), F_SETLK, &lockinfo) == -1) &&
334 &lockinfo) == -1)
374 struct flock lockinfo; /* Locking structure */
378 lockinfo.l_type = F_UNLCK; /* Lock type */
379 lockinfo.l_whence = 0; /* Count from top of file */
380 lockinfo.l_start = 0L; /* From beginning */
381 lockinfo.l_len = 0L; /* Length of locked data */
384 noerr = (fcntl(fileno(oam_dgroup), F_SETLK, &lockinfo) != -1);