view modules/nproc @ 11658:8b1dcb465dff

tests: add test for bogus NULL definition * tests/test-stdio.c: Ensure POSIX 2008 requirement on NULL. * tests/test-stdlib.c: Likewise. * tests/test-string.c: Likewise. * tests/test-locale.c: Likewise. * tests/test-unistd.c: Likewise. * modules/stdio-tests (Depends-on): Add verify. * modules/stdlib-tests (Depends-on): Likewise. * modules/string-tests (Depends-on): Likewise. * modules/locale-tests (Depends-on): Likewise. * modules/unistd-tests (Depends-on): Likewise. Signed-off-by: Eric Blake <ebb9@byu.net>
author Eric Blake <ebb9@byu.net>
date Fri, 26 Jun 2009 08:00:28 -0600
parents 4a2a6b0eadea
children 18ea6ab4e81d
line wrap: on
line source

Description:
Detect the number of processors

Files:
lib/nproc.h
lib/nproc.c

Depends-on:
unistd

configure.ac:
AC_LIBOBJ([nproc])

Makefile.am:

Include:
#include "nproc.h"

License:
GPL

Maintainer:
Glen Lenker and Paul Eggert