1fCreate(3) util/ulocks.h fCreate(3)
2
3
4
6 fCreate - create a file lock.
7
9 #include <util/ulocks.h>
10
11
12 NEOERR *fCreate(int *plock, const char *file);
13
14
15
16
18 plock - place for lock.
19 file - path of file to use as lock.
20
21
23 Creates a file lock on named file <file>. The lock is returned in
24 <plock>.
25
26 MT-Level: Safe.
27
28
30 plock - set to lock identifier.
31
32
34 mCreate(3), fCreate(3), mUnlock(3), fUnlock(3), cBroadcast(3), cSig‐
35 nal(3), fFind(3), cDestroy(3), cCreate(3), mDestroy(3), cWait(3),
36 fLock(3), fDestroy(3), mLock
37
38
39
40ClearSilver 12 July 2007 fCreate(3)