add fallocate (nonstandardized) function
authorRich Felker <dalias@aerifal.cx>
Sat, 8 Sep 2012 04:33:04 +0000 (00:33 -0400)
committerRich Felker <dalias@aerifal.cx>
Sat, 8 Sep 2012 04:33:04 +0000 (00:33 -0400)
commitadb88e773b3897fa222b5d1bb8e46b2d6b424214
treebdc42d9e8aebc0ef96a8f6c1029a392f57a02e56
parent5271ff46b9e983bec5fd9ab79d5aaf096fa54157
add fallocate (nonstandardized) function

this is equivalent to posix_fallocate except that it has an extra
mode/flags argument to control its behavior, and stores the error in
errno rather than returning an error code.
include/fcntl.h
src/fcntl/fallocate.c [new file with mode: 0644]