Skip to content

Commit 36f5f13

Browse files
committed
openbsd/netbsd MAP_TRYFIXED constant
1 parent 740e784 commit 36f5f13

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

libc-test/semver/netbsd.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -643,6 +643,7 @@ MAP_NORESERVE
643643
MAP_REMAPDUP
644644
MAP_RENAME
645645
MAP_STACK
646+
MAP_TRYFIXED
646647
MAP_WIRED
647648
MAXFREQ
648649
MAXPHASE

libc-test/semver/openbsd.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -486,6 +486,7 @@ MAP_NOEXTEND
486486
MAP_NORESERVE
487487
MAP_RENAME
488488
MAP_STACK
489+
MAP_TRYFIXED
489490
MCL_CURRENT
490491
MCL_FUTURE
491492
MDMBUF

src/unix/bsd/netbsdlike/netbsd/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1701,6 +1701,7 @@ pub const O_DSYNC: ::c_int = 0x10000;
17011701
pub const MAP_RENAME: ::c_int = 0x20;
17021702
pub const MAP_NORESERVE: ::c_int = 0x40;
17031703
pub const MAP_HASSEMAPHORE: ::c_int = 0x200;
1704+
pub const MAP_TRYFIXED: ::c_int = 0x400;
17041705
pub const MAP_WIRED: ::c_int = 0x800;
17051706
pub const MAP_STACK: ::c_int = 0x2000;
17061707
// map alignment aliases for MAP_ALIGNED

src/unix/bsd/netbsdlike/openbsd/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1229,6 +1229,7 @@ pub const O_DSYNC: ::c_int = 128;
12291229
pub const MAP_RENAME: ::c_int = 0x0000;
12301230
pub const MAP_NORESERVE: ::c_int = 0x0000;
12311231
pub const MAP_HASSEMAPHORE: ::c_int = 0x0000;
1232+
pub const MAP_TRYFIXED: ::c_int = 0;
12321233

12331234
pub const EIPSEC: ::c_int = 82;
12341235
pub const ENOMEDIUM: ::c_int = 85;

0 commit comments

Comments
 (0)