Newer
Older
Import / research / other / WakeXBMC / processor-count.c
@John Ryland John Ryland on 22 Dec 2020 163 bytes import NUC files
#include <unistd.h>
#include <stdio.h>


int main(int argc, char* argv[])
{
	int p = sysconf(_SC_NPROCESSORS_ONLN);
	printf("processors: %i\n", p);
	return 0;
}