errno-h: document Haiku errors can’t be -1
[gnulib.git] / doc / glibc-functions / get_nprocs.texi
blob851eeb5c473c445294370f9350bb3dd9e7a4b003
1 @node get_nprocs
2 @subsection @code{get_nprocs}
3 @findex get_nprocs
5 Documentation:
6 @itemize
7 @item
8 @ifinfo
9 @ref{Processor Resources,,Learn about the processors available,libc},
10 @end ifinfo
11 @ifnotinfo
12 @url{https://www.gnu.org/software/libc/manual/html_node/Processor-Resources.html},
13 @end ifnotinfo
14 @item
15 @uref{https://www.kernel.org/doc/man-pages/online/pages/man3/get_nprocs.3.html,,man get_nprocs}.
16 @end itemize
18 Gnulib module: ---
20 Portability problems fixed by Gnulib:
21 @itemize
22 @end itemize
24 Portability problems not fixed by Gnulib:
25 @itemize
26 @item
27 This function is missing on many non-glibc platforms:
28 macOS 14, FreeBSD 14.0, NetBSD 10.0, OpenBSD 7.5, Minix 3.1.8, AIX 5.1, HP-UX 11, Solaris 10, Cygwin 1.7.1, mingw, MSVC 14, Android 5.1.
29 @end itemize
31 @mindex nproc
32 Gnulib provides the module @code{nproc} that performs a similar
33 function but is portable to more systems.