Lines Matching refs:CHECKED
33 #ifndef CHECKED
35 # define CHECKED(ret, call) (ret) = (call)
37 # define CHECKED(ret, call) do { (ret) = (call); } while ((ret) < 0 && errno == EINTR)
244 CHECKED(rc, lstat( lock->temp, &st_temp ));
267 CHECKED(rc, link( lock->temp, lock->lock ));
269 CHECKED(rc, lstat( lock->lock, &st_lock ));
276 CHECKED(rc, unlink( lock->temp ));
290 CHECKED(rc, time( &now));
293 CHECKED(lockfd, open( lock->lock,O_RDONLY ));
297 CHECKED(len, read( lockfd, buf, sizeof(buf)-1 ));
301 CHECKED(rc, fstat( lockfd, &st ));
305 CHECKED(rc, close(lockfd));
309 CHECKED(rc, kill( lockpid, 0 ));
323 CHECKED(rc, unlink( lock->lock ));