@node sched_setscheduler
@subsection @code{sched_setscheduler}
@findex sched_setscheduler

POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/sched_setscheduler.html}

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

Gnulib module: ---

Portability problems fixed by Gnulib:
@itemize
@end itemize

Portability problems not fixed by Gnulib:
@itemize
@item
This function is missing on some platforms:
macOS 14, OpenBSD 7.9, Minix 3.1.8, mingw, MSVC 14.
@item
This function always fails with error @code{ENOSYS} on some platforms:
musl libc.
@end itemize
