Correct documentation for FcAtomicLock (Bug 12947).

FcAtomicLock can only be called once from any process.
This commit is contained in:
Keith Packard 2007-11-03 13:05:25 -07:00
parent d0e2a0f3a3
commit 910db318ae
1 changed files with 3 additions and 3 deletions

View File

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