Chip Davis cdavis@codeweavers.com writes:
From: Charles Davis cdavis5x@gmail.com
The fallocate(2) call only exists on Linux. posix_fallocate() is more portable.
I'd suggest to always use posix_fallocate() then, and don't worry about adding fallbacks. We can simply skip the call if it's missing.