ddn.util.monaco.platform.darwin
fn getAllPIDs getArchitecture getCPUBrand getCPUCount getfsstat getHostname getKernelVersion getMacOSVersion getModelIdentifier getpagesize getPageSize getPhysicalMemory getVMStatistics host_statistics64 isAppleSilicon mach_host_self proc_listallpids proc_pidinfo sysctl sysctlbyname sysctlInt sysctlString
Types 6
structhost_t
structvm_statistics64
Fields
natural_t free_countnatural_t active_countnatural_t inactive_countnatural_t wire_countulong[12] _padaliasnatural_t = uint
aliasmach_msg_type_number_t = uint
structkinfo_proc
Fields
int[2] kp_procint[32] kp_eprocstructstatfs
Fields
uint[32] f_fstypenameuint[1024] f_mntonnameuint[1024] f_mntfromnameFunctions 22
fn
int sysctl(int * name, uint namelen, void * oldp, size_t * oldlenp,
const void * newp, size_t newlen)fn
int sysctlbyname(const char * name, void * oldp, size_t * oldlenp,
const void * newp, size_t newlen)fn
host_t mach_host_self()fn
int host_statistics64(host_t host_priv, int flavor,
vm_statistics64 * host_info64_out,
mach_msg_type_number_t * host_info64_count)fn
int getpagesize()fn
int proc_listallpids(void * buffer, int buffersize)fn
int proc_pidinfo(int pid, int flavor, ulong arg, void * buffer, int buffersize)fn
int getfsstat(statfs * buf, int bufsize, int flags)Variables 2
enumvar
HOST_VM_INFO64 = 4enumvar
PROC_PIDTBSDINFO = 3