diff options
author | Herbert Valerio Riedel <hvr@gnu.org> | 2014-12-15 23:25:26 +0100 |
---|---|---|
committer | Herbert Valerio Riedel <hvr@gnu.org> | 2014-12-15 23:25:26 +0100 |
commit | e14fbe2cb3bbd604dadcc3847882ca37edf548b3 (patch) | |
tree | 5d03ef171508bf9fcfc15a3deeb1ba546481c270 /unix.cabal | |
parent | cbe8af7a60c9350dda479fd3539d639a59ffb85a (diff) |
Wrap posix_fadvise(2) and posix_fallocate(2)
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 <hvr@gnu.org>
Diffstat (limited to 'unix.cabal')
-rw-r--r-- | unix.cabal | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |