BSD Derivatives include FreeBSD, OpenBSD, NetBSD and MacOS X (Darwin). Newer BSD derivative systems support the _SC_NPROCESSORS_CONF and _SC_NPROCESSORS_ONLN flags to the sysconf function. The number of system processors can also be obtained using the CTL_HW and HW_NCPU flags with the sysctl function.