File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -100,6 +100,11 @@ IPV6_ADD_MEMBERSHIP
100
100
IPV6_DROP_MEMBERSHIP
101
101
IUCLC
102
102
IUTF8
103
+ MADV_DONTNEED
104
+ MADV_NORMAL
105
+ MADV_RANDOM
106
+ MADV_SEQUENTIAL
107
+ MADV_WILLNEED
103
108
MSG_DONTWAIT
104
109
NI_DGRAM
105
110
NI_MAXSERV
Original file line number Diff line number Diff line change @@ -634,6 +634,12 @@ pub const PROT_READ: ::c_int = 0x0004;
634
634
pub const PROT_WRITE : :: c_int = 0x0002 ;
635
635
pub const PROT_EXEC : :: c_int = 0x0001 ;
636
636
637
+ pub const MADV_NORMAL : :: c_int = 0 ;
638
+ pub const MADV_RANDOM : :: c_int = 1 ;
639
+ pub const MADV_SEQUENTIAL : :: c_int = 2 ;
640
+ pub const MADV_WILLNEED : :: c_int = 3 ;
641
+ pub const MADV_DONTNEED : :: c_int = 4 ;
642
+
637
643
pub const MAP_SHARED : :: c_int = 0x0001 ;
638
644
pub const MAP_PRIVATE : :: c_int = 0x0002 ;
639
645
pub const MAP_ANON : :: c_int = 0x0020 ;
You can’t perform that action at this time.
0 commit comments