summaryrefslogtreecommitdiff
path: root/doc/glibc-functions/get_nprocs.texi
blob: 168118743342c2e5863a4784893e6b016f9ef333 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
@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 11.1, FreeBSD 6.0, NetBSD 9.0, OpenBSD 6.7, Minix 3.1.8, AIX 5.1, HP-UX 11, IRIX 6.5, Solaris 10, Cygwin 1.7.1, mingw, MSVC 14, Android 5.1.
@end itemize

Gnulib provides the module @code{nproc} that performs a similar
function but is portable to more systems.