commit 1f9161a9c6aa712f389ea1445d5fce6af33e9a1d (tree)
parent c9de5304ab250c3b55fc6f8d0502eba51c342c67
Author: Andrew Kelley <andrew@ziglang.org>
Date: Mon, 31 Jul 2023 11:17:57 -0700
Revert "std.c: add mincore api to darwin."
This reverts commit 05f9608115a48fb7312ebf38c1240ae10b770c88.
Diffstat:
1 file changed, 0 insertions(+), 13 deletions(-)
diff --git a/lib/std/c/darwin.zig b/lib/std/c/darwin.zig
@@ -3852,16 +3852,3 @@ pub extern "c" fn proc_listchildpids(ppid: pid_t, buffer: ?*anyopaque, buffersiz
pub extern "c" fn proc_pidinfo(pid: c_int, flavor: c_int, arg: u64, buffer: ?*anyopaque, buffersize: c_int) c_int;
pub extern "c" fn proc_name(pid: c_int, buffer: ?*anyopaque, buffersize: u32) c_int;
pub extern "c" fn proc_pidpath(pid: c_int, buffer: ?*anyopaque, buffersize: u32) c_int;
-
-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 PAGED_OUT = 0x20;
- pub const COPIED = 0x40;
- pub const ANONYMOUS = 0x80;
-};
-
-pub extern "c" fn mincore(addr: *align(std.mem.page_size) const anyopaque, length: usize, vec: [*]u8) c_int;