#include <fontconfig.h>
FcBool FcAtomicLock(FcAtomic *atomic);
FcBool FcAtomicLock
Attempts to lock the file referenced by atomic. Returns FcFalse if the file is already locked, else returns FcTrue and leaves the file locked.
Fontconfig version 2.8.0