[PATCH] libc: add fallocate() and fallocate64()
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Thu Sep 4 11:48:30 UTC 2014
On 1 September 2014 16:27, <basile at opensource.dyc.edu> wrote:
> From: "Anthony G. Basile" <blueness at gentoo.org>
>
> We add the Linux-specific system call fallocate() which allows the user to
Please only enable the non-hidden symbol if UCLIBC_LINUX_SPECIFIC is set.
Also, you seem to completely ignore the type of the function decl. You should
make sure the fallocate decl is visible when being compiled with _LIBC (i.e.
internally) and use extern __typeof(fallocate) _fallocate in the impl. We would
potentially miss changed function "signature" otherwise..
TIA,
> directly manipulate allocate space for a file. The default operation is
> equivalent to posix_fallocate() which is specified in POSIX.1. However,
> recent releases of e2fsprogs 1.42.11 and above expect fallocate() to be
> available.
More information about the uClibc
mailing list