Returns the number of processors on the host machine.
#include <sys/sysinfo.h> int get_nprocs( void );
Returns the number of processors on the host machine. This function cannot fail.
This is a GNU extension and has been included in the library to aid the porting of open source code to NetWare.