| @node getcpu | |
| @subsection @code{getcpu} | |
| @findex getcpu | |
| Documentation: | |
| @itemize | |
| @item | |
| @ifinfo | |
| @ref{CPU Affinity,,Limiting execution to certain CPUs,libc}, | |
| @end ifinfo | |
| @ifnotinfo | |
| @url{https://www.gnu.org/software/libc/manual/html_node/CPU-Affinity.html}, | |
| @end ifnotinfo | |
| @item | |
| @uref{https://www.kernel.org/doc/man-pages/online/pages/man2/getcpu.2.html,,man getcpu}. | |
| @end itemize | |
| Gnulib module: --- | |
| Portability problems fixed by Gnulib: | |
| @itemize | |
| @end itemize | |
| Portability problems not fixed by Gnulib: | |
| @itemize | |
| @item | |
| This function exists only on Linux and is therefore | |
| missing on all non-glibc platforms: | |
| glibc 2.28, macOS 14, FreeBSD 14.0, NetBSD 10.0, OpenBSD 7.5, Minix 3.1.8, AIX 7.1, HP-UX 11.31, Solaris 11.4, Cygwin 2.9, mingw, MSVC 14, Android 9.0. | |
| @end itemize |