]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
posix_fallocate.3: Clarify text relating to MT-safety
authorMichael Kerrisk <mtk.manpages@gmail.com>
Mon, 5 Oct 2015 08:59:24 +0000 (09:59 +0100)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Mon, 5 Oct 2015 09:00:29 +0000 (10:00 +0100)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man3/posix_fallocate.3

index 67bceb9098683c8e382006ee1bdcaa65ad010dcf..6d8d59328ebafd3060e3e4154e67b7b2351a86d9 100644 (file)
@@ -111,7 +111,7 @@ l l l.
 Interface      Attribute       Value
 T{
 .BR posix_fallocate ()
-T}     Thread safety   MT-Safe
+T}     Thread safety   MT-Safe (but see NOTES)
 .TE
 .SH CONFORMING TO
 POSIX.1-2001.
@@ -143,7 +143,7 @@ In the glibc implementation,
 .BR posix_fallocate ()
 is implemented using the
 .BR fallocate (2)
-system call.
+system call, which is MT-safe.
 If the underlying filesystem does not support
 .BR fallocate (2),
 then the operation is emulated with the following caveats:
@@ -169,7 +169,7 @@ flags, the function will fail with the error
 In general, the emulation is not MT-safe.
 On Linux, applications may use
 .BR fallocate (2)
-if they cannot work around the emulation caveats.
+if they cannot tolerate the emulation caveats.
 In general, this is
 only recommended if the application plans to terminate the operation if
 .B EOPNOTSUPP