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 /changelog.md | |
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 'changelog.md')
-rw-r--r-- | changelog.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/changelog.md b/changelog.md index 1be0f35..db6bb48 100644 --- a/changelog.md +++ b/changelog.md @@ -21,6 +21,10 @@ - `fileSynchronise` (aka `fsync(2)`), and - `fileSynchroniseDataOnly` (aka `fdatasync(2)`) + * New module `System.Posix.Fcntl` providing + - `fileAdvise` (aka `posix_fadvise(2)`), and + - `fileAllocate` (aka `posix_fallocate(2)`) + ## 2.7.0.1 *Mar 2014* * Bundled with GHC 7.8.1 |