mirror of
https://github.com/ziglang/zig.git
synced 2025-12-23 14:43:17 +00:00
Revert "std.c: adding mincore for freebsd"
This reverts commit 8d88dcdc61c61e3410138f4402482131f5074a80.
This commit is contained in:
parent
1f9161a9c6
commit
ddd7b0ea9e
@ -2273,21 +2273,3 @@ pub const sigevent = extern struct {
|
|||||||
__spare__: [8]c_long,
|
__spare__: [8]c_long,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
pub const MIN = struct {
|
|
||||||
pub const INCORE = 0x1;
|
|
||||||
pub const REFERENCED = 0x2;
|
|
||||||
pub const MODIFIED = 0x4;
|
|
||||||
pub const REFERENCED_OTHER = 0x8;
|
|
||||||
pub const MODIFIED_OTHER = 0x10;
|
|
||||||
pub const SUPER = 0x60;
|
|
||||||
pub fn PSIND(i: u32) u32 {
|
|
||||||
return (i << 5) & SUPER;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
pub extern "c" fn mincore(
|
|
||||||
addr: *align(std.mem.page_size) const anyopaque,
|
|
||||||
length: usize,
|
|
||||||
vec: [*]u8,
|
|
||||||
) c_int;
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user