@node sched_getaffinity
@subsection @code{sched_getaffinity}
@findex sched_getaffinity

LSB specification:@* @url{https://refspecs.linuxbase.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/baselib-sched-getaffinity.html}

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/sched_getaffinity.2.html,,man sched_getaffinity}.
@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 13.0, NetBSD 10.0, OpenBSD 7.5, Minix 3.1.8, AIX 5.1, HP-UX 11, Solaris 11.4, Cygwin 3.0.x, mingw, MSVC 14, Android 3.0.
@end itemize
