]> git.wh0rd.org - fontconfig.git/commitdiff
Correct documentation for FcAtomicLock (Bug 12947).
authorKeith Packard <keithp@koto.keithp.com>
Sat, 3 Nov 2007 20:05:25 +0000 (13:05 -0700)
committerKeith Packard <keithp@koto.keithp.com>
Sat, 3 Nov 2007 20:05:25 +0000 (13:05 -0700)
FcAtomicLock can only be called once from any process.

doc/fcatomic.fncs

index 9cd633c7547ce6778cc0dbde7e572f3530221880..ae27c687f5e2d5be3beba4a8bd4f842ba01eb02e 100644 (file)
@@ -38,9 +38,9 @@ a consistent and complete file without the need to lock for reading.
 @TYPE1@         FcAtomic *                      @ARG1@          atomic
 @PURPOSE@      lock a file
 @DESC@
-Attempts to lock the file referenced by <parameter>atomic</parameter>.  Returns FcFalse if the
-file is locked by another process, else returns FcTrue and leaves the file
-locked.
+Attempts to lock the file referenced by <parameter>atomic</parameter>.
+Returns FcFalse if the file is already locked, else returns FcTrue and
+leaves the file locked.
 @@
 
 @RET@           FcChar8 *