FcAtomicLock
lock a file
- Provided by: libfontconfig1-dev (Version: 2.11.94-0ubuntu1.1)
- Source: fontconfig
- Report a bug
lock a file
#include <fontconfig/fontconfig.h> FcBool FcAtomicLock (FcAtomic *atomic);
Attempts to lock the file referenced by atomic. Returns FcFalse if the file is already locked, else returns FcTrue and leaves the file locked.