| ... | ... | @@ -3854,3 +3854,16 @@ pub extern "c" fn proc_listchildpids(ppid: pid_t, buffer: ?*anyopaque, buffersiz |
| 3854 | 3854 | pub extern "c" fn proc_pidinfo(pid: c_int, flavor: c_int, arg: u64, buffer: ?*anyopaque, buffersize: c_int) c_int; |
| 3855 | 3855 | pub extern "c" fn proc_name(pid: c_int, buffer: ?*anyopaque, buffersize: u32) c_int; |
| 3856 | 3856 | pub extern "c" fn proc_pidpath(pid: c_int, buffer: ?*anyopaque, buffersize: u32) c_int; |
| 3857 | |
| 3858 | pub const MIN = struct { |
| 3859 | pub const INCORE = 0x1; |
| 3860 | pub const REFERENCED = 0x2; |
| 3861 | pub const MODIFIED = 0x4; |
| 3862 | pub const REFERENCED_OTHER = 0x8; |
| 3863 | pub const MODIFIED_OTHER = 0x10; |
| 3864 | pub const PAGED_OUT = 0x20; |
| 3865 | pub const COPIED = 0x40; |
| 3866 | pub const ANONYMOUS = 0x80; |
| 3867 | }; |
| 3868 | |
| 3869 | pub extern "c" fn mincore(addr: *align(std.mem.page_size) const anyopaque, lengh: usize, vec: [*]u8) c_int; |