From 33a12b5540b8abbc4ee0ecb3a51912b3c7868517 Mon Sep 17 00:00:00 2001 From: "Anthony G. Basile" Date: Sun, 7 Sep 2014 15:33:46 -0400 Subject: libc: add fallocate() and fallocate64() We add the Linux-specific function fallocate() which allows the user to directly manipulate allocate space for a file. fallocate() can operate in different modes, but the default mode is equivalent to posix_fallocate() which is specified in POSIX.1. Recent releases of e2fsprogs 1.42.11 and above expect fallocate64() to be available. Signed-off-by: Anthony G. Basile Signed-off-by: Bernhard Reutner-Fischer --- test/.gitignore | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/.gitignore') diff --git a/test/.gitignore b/test/.gitignore index 85161daf4..8f3203190 100644 --- a/test/.gitignore +++ b/test/.gitignore @@ -320,6 +320,8 @@ unistd/getcwd unistd/getopt unistd/getopt_long unistd/tstgetopt +unistd/tst-fallocate +unistd/tst-fallocate64 unistd/tst-posix_fallocate unistd/tst-posix_fallocate64 unistd/tst-preadwrite -- cgit v1.2.3