Copyright Digital Equipment Corp. All rights reserved.

Description

   The ftrylockfile function is used by a thread to acquire
   ownership of a stdio (FILE*) object, if the object is available.
   The ftrylockfile function is a non-blocking version of flockfile.

   The ftrylockfile function returns zero for success and nonzero to
   indicate that the lock cannot be acquired.

   See also flockfile and funlockfile.