FcAtomicLock
lock a file
- Provided by: libfontconfig1-dev (Version: 2.13.1-2ubuntu3)
- 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.