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.
.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:
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