fFind(3) 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.