From e14fbe2cb3bbd604dadcc3847882ca37edf548b3 Mon Sep 17 00:00:00 2001 From: Herbert Valerio Riedel Date: Mon, 15 Dec 2014 23:25:26 +0100 Subject: Wrap posix_fadvise(2) and posix_fallocate(2) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This adds two new functions in `System.Posix.Unistd` - `fileAdvise` (aka `posix_fadvise(2)`), and - `fileAllocate` (aka `posix_fallocate(2)`) This is based in part on #7 and has been heavily refactored from its original patch submission by Ricardo Catalinas Jiménez. Signed-off-by: Herbert Valerio Riedel --- unix.cabal | 2 ++ 1 file changed, 2 insertions(+) (limited to 'unix.cabal') diff --git a/unix.cabal b/unix.cabal index 7bcf0d9..cc9c646 100644 --- a/unix.cabal +++ b/unix.cabal @@ -96,6 +96,8 @@ library System.Posix.Env System.Posix.Env.ByteString + System.Posix.Fcntl + System.Posix.Process System.Posix.Process.Internals System.Posix.Process.ByteString -- cgit v1.2.3