logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Arguments

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

Description

       Creates a file lock on named file <file>.  The lock is returned in <plock>.

       MT-Level: Safe.

Name

       fCreate  - create a file lock.

Return Value

       plock - set to lock identifier.

See Also

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

ClearSilver                                       12 July 2007                                        fCreate(3)

Synopsis

       #include <util/ulocks.h>

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

See Also