Revert "std.c: adding mincore for freebsd"

This reverts commit 8d88dcdc61c61e3410138f4402482131f5074a80.
This commit is contained in:
Andrew Kelley 2023-07-31 11:18:07 -07:00
parent 1f9161a9c6
commit ddd7b0ea9e

View File

@ -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;