Skip to content

Commit

Permalink
openbsd/netbsd MAP_TRYFIXED constant
Browse files Browse the repository at this point in the history
  • Loading branch information
devnexen committed Dec 10, 2023
1 parent 740e784 commit 36f5f13
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions libc-test/semver/netbsd.txt
Original file line number Diff line number Diff line change
Expand Up @@ -643,6 +643,7 @@ MAP_NORESERVE
MAP_REMAPDUP
MAP_RENAME
MAP_STACK
MAP_TRYFIXED
MAP_WIRED
MAXFREQ
MAXPHASE
Expand Down
1 change: 1 addition & 0 deletions libc-test/semver/openbsd.txt
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,7 @@ MAP_NOEXTEND
MAP_NORESERVE
MAP_RENAME
MAP_STACK
MAP_TRYFIXED
MCL_CURRENT
MCL_FUTURE
MDMBUF
Expand Down
1 change: 1 addition & 0 deletions src/unix/bsd/netbsdlike/netbsd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1701,6 +1701,7 @@ pub const O_DSYNC: ::c_int = 0x10000;
pub const MAP_RENAME: ::c_int = 0x20;
pub const MAP_NORESERVE: ::c_int = 0x40;
pub const MAP_HASSEMAPHORE: ::c_int = 0x200;
pub const MAP_TRYFIXED: ::c_int = 0x400;
pub const MAP_WIRED: ::c_int = 0x800;
pub const MAP_STACK: ::c_int = 0x2000;
// map alignment aliases for MAP_ALIGNED
Expand Down
1 change: 1 addition & 0 deletions src/unix/bsd/netbsdlike/openbsd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1229,6 +1229,7 @@ pub const O_DSYNC: ::c_int = 128;
pub const MAP_RENAME: ::c_int = 0x0000;
pub const MAP_NORESERVE: ::c_int = 0x0000;
pub const MAP_HASSEMAPHORE: ::c_int = 0x0000;
pub const MAP_TRYFIXED: ::c_int = 0;

pub const EIPSEC: ::c_int = 82;
pub const ENOMEDIUM: ::c_int = 85;
Expand Down

0 comments on commit 36f5f13

Please sign in to comment.