Collin Funk wrote: > [1] https://github.com/bminor/musl/blob/master/src/sched/sched_getscheduler.c
That's something worth mentioning in the Gnulib documentation. 2025-08-19 Bruno Haible <[email protected]> doc: Mention some musl libc stubs. * doc/posix-functions/sched_getparam.texi: Mention musl libc stub. * doc/posix-functions/sched_setparam.texi: Likewise. * doc/posix-functions/sched_getscheduler.texi: Likewise. * doc/posix-functions/sched_setscheduler.texi: Likewise. * doc/posix-functions/posix_spawnattr_getschedparam.texi: Likewise. * doc/posix-functions/posix_spawnattr_setschedparam.texi: Likewise. * doc/posix-functions/posix_spawnattr_getschedpolicy.texi: Likewise. * doc/posix-functions/posix_spawnattr_setschedpolicy.texi: Likewise. diff --git a/doc/posix-functions/posix_spawnattr_getschedparam.texi b/doc/posix-functions/posix_spawnattr_getschedparam.texi index 5a175bad92..08506cbb4d 100644 --- a/doc/posix-functions/posix_spawnattr_getschedparam.texi +++ b/doc/posix-functions/posix_spawnattr_getschedparam.texi @@ -16,4 +16,7 @@ Portability problems not fixed by Gnulib: @itemize +@item +This function always fails with error @code{ENOSYS} on some platforms: +musl libc. @end itemize diff --git a/doc/posix-functions/posix_spawnattr_getschedpolicy.texi b/doc/posix-functions/posix_spawnattr_getschedpolicy.texi index 51bbd50de7..d2dc58dbef 100644 --- a/doc/posix-functions/posix_spawnattr_getschedpolicy.texi +++ b/doc/posix-functions/posix_spawnattr_getschedpolicy.texi @@ -16,4 +16,7 @@ Portability problems not fixed by Gnulib: @itemize +@item +This function always fails with error @code{ENOSYS} on some platforms: +musl libc. @end itemize diff --git a/doc/posix-functions/posix_spawnattr_setschedparam.texi b/doc/posix-functions/posix_spawnattr_setschedparam.texi index c37f1feaea..de089866e7 100644 --- a/doc/posix-functions/posix_spawnattr_setschedparam.texi +++ b/doc/posix-functions/posix_spawnattr_setschedparam.texi @@ -16,4 +16,7 @@ Portability problems not fixed by Gnulib: @itemize +@item +This function always fails with error @code{ENOSYS} on some platforms: +musl libc. @end itemize diff --git a/doc/posix-functions/posix_spawnattr_setschedpolicy.texi b/doc/posix-functions/posix_spawnattr_setschedpolicy.texi index a3917d4466..720d964a9e 100644 --- a/doc/posix-functions/posix_spawnattr_setschedpolicy.texi +++ b/doc/posix-functions/posix_spawnattr_setschedpolicy.texi @@ -16,4 +16,7 @@ Portability problems not fixed by Gnulib: @itemize +@item +This function always fails with error @code{ENOSYS} on some platforms: +musl libc. @end itemize diff --git a/doc/posix-functions/sched_getparam.texi b/doc/posix-functions/sched_getparam.texi index c9360b6f69..5eed9f1ce5 100644 --- a/doc/posix-functions/sched_getparam.texi +++ b/doc/posix-functions/sched_getparam.texi @@ -15,4 +15,7 @@ @item This function is missing on some platforms: macOS 14, OpenBSD 7.5, Minix 3.1.8, mingw, MSVC 14. +@item +This function always fails with error @code{ENOSYS} on some platforms: +musl libc. @end itemize diff --git a/doc/posix-functions/sched_getscheduler.texi b/doc/posix-functions/sched_getscheduler.texi index 391b0571fe..fbb97e58a6 100644 --- a/doc/posix-functions/sched_getscheduler.texi +++ b/doc/posix-functions/sched_getscheduler.texi @@ -15,4 +15,7 @@ @item This function is missing on some platforms: macOS 14, OpenBSD 7.5, Minix 3.1.8, mingw, MSVC 14. +@item +This function always fails with error @code{ENOSYS} on some platforms: +musl libc. @end itemize diff --git a/doc/posix-functions/sched_setparam.texi b/doc/posix-functions/sched_setparam.texi index 01b64d1bf6..49c248a5f6 100644 --- a/doc/posix-functions/sched_setparam.texi +++ b/doc/posix-functions/sched_setparam.texi @@ -15,4 +15,7 @@ @item This function is missing on some platforms: macOS 14, OpenBSD 7.5, Minix 3.1.8, mingw, MSVC 14. +@item +This function always fails with error @code{ENOSYS} on some platforms: +musl libc. @end itemize diff --git a/doc/posix-functions/sched_setscheduler.texi b/doc/posix-functions/sched_setscheduler.texi index f9700961bc..4037483f84 100644 --- a/doc/posix-functions/sched_setscheduler.texi +++ b/doc/posix-functions/sched_setscheduler.texi @@ -17,4 +17,7 @@ @item This function is missing on some platforms: macOS 14, OpenBSD 7.5, Minix 3.1.8, mingw, MSVC 14. +@item +This function always fails with error @code{ENOSYS} on some platforms: +musl libc. @end itemize
