1fFind(3) util/ulocks.h fFind(3)
2
3
4
6 fFind - find a file lock.
7
9 #include <util/ulocks.h>
10
11
12 NEOERR *fFind(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 Find a file identified by the path <file>, and returns a lock identi‐
24 fier for it in <plock>. If the file doesn't exist, returns true.
25
26 MT-Level: Safe.
27
28
30 plock - set to lock identifier.
31
32
34 mCreate(3), fCreate(3), mUnlock(3), cBroadcast(3), fUnlock(3), cSig‐
35 nal(3), fFind(3), cDestroy(3), cCreate(3), mLock(3), cWait(3),
36 fLock(3), fDestroy(3), mDestroy
37
38
39
40ClearSilver 14 November 2006 fFind(3)