SYNOPSIS

       testfilelock fn


DESCRIPTION

       testfilelock  attempts  to  obtain  a lock on fn.  fn must exist and be
       writable for testfilelock.

       If testfilelock can obtain the lock, it immediately exits 100.   Other-
       wise it immediately exits 0.  On temporary errors it exits 111.


SEE ALSO

       flock(2), lockf(3)



                                                               testfilelock(1)

Man(1) output converted with man2html