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
100100IPV6_DROP_MEMBERSHIP
101101IUCLC
102102IUTF8
103+ MADV_DONTNEED
104+ MADV_NORMAL
105+ MADV_RANDOM
106+ MADV_SEQUENTIAL
107+ MADV_WILLNEED
103108MSG_DONTWAIT
104109NI_DGRAM
105110NI_MAXSERV
Original file line number Diff line number Diff line change @@ -634,6 +634,12 @@ pub const PROT_READ: ::c_int = 0x0004;
634634pub const PROT_WRITE : :: c_int = 0x0002 ;
635635pub const PROT_EXEC : :: c_int = 0x0001 ;
636636
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+
637643pub const MAP_SHARED : :: c_int = 0x0001 ;
638644pub const MAP_PRIVATE : :: c_int = 0x0002 ;
639645pub const MAP_ANON : :: c_int = 0x0020 ;
You can’t perform that action at this time.
0 commit comments