All pastes #475990 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-05-07 20:46 UTC
rendered paste body
#include <stdio.h>
#include <math.h>
#include <stdlib.h>

int main()
{
printf("Uw processor ondersteund de volgende instructies:\n");
system("sysctl -n machdep | grep SSE2");
printf("Processor:\n");
system("sysctl machdep | grep brand_string | awk '{print $2 $3 $4 $5 $6 $7 $8 $9 $10}'");
printf("Processor snelheid:\n");
int proc;
proc = (FILE*)popen("sysctl -n hw.cpufrequency","r");

};