blob: 851eeb5c473c445294370f9350bb3dd9e7a4b003 [file] [edit]
@node get_nprocs
@subsection @code{get_nprocs}
@findex get_nprocs
Documentation:
@itemize
@item
@ifinfo
@ref{Processor Resources,,Learn about the processors available,libc},
@end ifinfo
@ifnotinfo
@url{https://www.gnu.org/software/libc/manual/html_node/Processor-Resources.html},
@end ifnotinfo
@item
@uref{https://www.kernel.org/doc/man-pages/online/pages/man3/get_nprocs.3.html,,man get_nprocs}.
@end itemize
Gnulib module: ---
Portability problems fixed by Gnulib:
@itemize
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@item
This function is missing on many non-glibc platforms:
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.
@end itemize
@mindex nproc
Gnulib provides the module @code{nproc} that performs a similar
function but is portable to more systems.