[Go to CFHT Home Page] Man Pages
Back to Software Index  BORDER=0Manpage Top Level
    fFind(3) manual page Table of Contents

Name

fFind - find a file lock.

Synopsis


#include <util/ulocks.h>


NEOERR *fFind(int *plock, const char *file);

Arguments

plock - place for lock.
file - path of file to use as lock.

Description

Find a file identified by the path <file>, and returns a lock identifier for it in <plock>. If the file doesn’t exist, returns true.

MT-Level: Safe.

Return Value

plock - set to lock identifier.

See Also

mCreate(3) , fCreate(3) , mUnlock(3) , cBroadcast(3) , fUnlock(3) , cSignal(3) , fFind(3) , cDestroy(3) , cCreate(3) , mLock(3) , cWait(3) , fLock(3) , fDestroy(3) , mDestroy


Table of Contents