commit ddd7b0ea9e15f3ef154c06cc2aa975ff28bbecec (tree)
parent 1f9161a9c6aa712f389ea1445d5fce6af33e9a1d
Author: Andrew Kelley <andrew@ziglang.org>
Date: Mon, 31 Jul 2023 11:18:07 -0700
Revert "std.c: adding mincore for freebsd"
This reverts commit 8d88dcdc61c61e3410138f4402482131f5074a80.
Diffstat:
1 file changed, 0 insertions(+), 18 deletions(-)
diff --git a/lib/std/c/freebsd.zig b/lib/std/c/freebsd.zig
@@ -2273,21 +2273,3 @@ pub const sigevent = extern struct {
__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;