mirror of
https://gitee.com/openharmony/third_party_rust_libc
synced 2024-10-07 05:33:48 +00:00
openbsd adding mmap MAP_CONCEAL flag.
This commit is contained in:
parent
7cc1cf300a
commit
36f2fe5ad5
@ -418,6 +418,7 @@ MADV_NORMAL
|
||||
MADV_RANDOM
|
||||
MADV_SEQUENTIAL
|
||||
MADV_WILLNEED
|
||||
MAP_CONCEAL
|
||||
MAP_COPY
|
||||
MAP_FILE
|
||||
MAP_HASSEMAPHORE
|
||||
|
@ -1360,6 +1360,7 @@ pub const NTFS_MFLAG_ALLNAMES: ::c_int = 0x2;
|
||||
pub const TMPFS_ARGS_VERSION: ::c_int = 1;
|
||||
|
||||
pub const MAP_STACK: ::c_int = 0x4000;
|
||||
pub const MAP_CONCEAL: ::c_int = 0x8000;
|
||||
|
||||
// https://github.com/openbsd/src/blob/master/sys/net/if.h#L187
|
||||
pub const IFF_UP: ::c_int = 0x1; // interface is up
|
||||
|
Loading…
Reference in New Issue
Block a user