ffind(3) - Linux man page

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), funlock(3), cbroadcast(3), csignal(3), fFind(3), cdestroy(3), ccreate(3), mdestroy(3), cwait(3), flock(3), fdestroy(3), mLock

Referenced By

mlock(3)