摘要:
#import #import #import #import #import #import -(void) logMemoryInfo { int mib[6]; mib[0] = CTL_HW; mib[1] = HW_PAGESIZE; int pagesize; size_t length; length = sizeof (pagesize); if (sysctl (mib, 2, &pagesize, &length, NULL, 0) < 0) { fprintf (stderr, "get...
阅读全文