Skip to content

Commit 50fdc68

Browse files
committed
Use libc for FFI functions and constants
1 parent 4e9dd25 commit 50fdc68

File tree

2 files changed

+203
-179
lines changed

2 files changed

+203
-179
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,13 @@ This project adheres to [Semantic Versioning](http://semver.org/).
2727
`statvfs::vfs` module. Additionally `(f)statvfs()` now return the struct
2828
directly. And the returned `Statvfs` struct now exposes its data through
2929
accessor methods. ([#729](https://github.com/nix-rust/nix/pull/729))
30+
- The `addr` argument to `madvise` and `msync` is now `*mut` to better match the
31+
libc API. ([#731](https://github.com/nix-rust/nix/pull/731))
32+
- `shm_open` and `shm_unlink` are no longer exposed on Android targets, where
33+
they are not officially supported. ([#731](https://github.com/nix-rust/nix/pull/731))
34+
- `MapFlags`, `MmapAdvise`, and `MsFlags` expose some more variants and only
35+
officially-supported variants are provided for each target.
36+
([#731](https://github.com/nix-rust/nix/pull/731))
3037

3138
# Fixed
3239
- Fix compilation and tests for OpenBSD targets

0 commit comments

Comments
 (0)