NAME

cat_unlockfile - release a file lock

SYNOPSIS

#include <cat/catutil.h>

int cat_unlockfile(FILE *f);

DESCRIPTION

Unlock a previously locked file that is referenced by f. The file must have been locked with cat_lockfile().

RETURN VALUES

Returns zero if successful, or a negative code on error.

SEE ALSO

cat_lockfile