diff options
author | David Carlier <devnexen@gmail.com> | 2021-05-03 20:47:17 +0100 |
---|---|---|
committer | David Carlier <devnexen@gmail.com> | 2021-05-07 05:22:30 +0100 |
commit | 9608421503a6a4f1787a3f1c4ebb7406cad52f28 (patch) | |
tree | a0daf1430e1c3fa42385610b2b1041f988f45c23 /src | |
parent | 66d82737f3d256b30fc0461fb44514a3a03db09e (diff) | |
download | rust-libc-9608421503a6a4f1787a3f1c4ebb7406cad52f28.tar.gz |
freebsd update proposal.
introducing MAP_ALIGNED macro and MAP_ALIGNED_SUPER.
Diffstat (limited to 'src')
-rw-r--r-- | src/unix/bsd/freebsdlike/freebsd/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/unix/bsd/freebsdlike/freebsd/mod.rs b/src/unix/bsd/freebsdlike/freebsd/mod.rs index db495e4817..c2cc6d7430 100644 --- a/src/unix/bsd/freebsdlike/freebsd/mod.rs +++ b/src/unix/bsd/freebsdlike/freebsd/mod.rs @@ -448,6 +448,7 @@ pub const Q_GETQUOTA: ::c_int = 0x700; pub const Q_SETQUOTA: ::c_int = 0x800; pub const MAP_GUARD: ::c_int = 0x00002000; +pub const MAP_ALIGNED_SUPER: ::c_int = 1 << 24; pub const POSIX_FADV_NORMAL: ::c_int = 0; pub const POSIX_FADV_RANDOM: ::c_int = 1; |