Branch
Hash :
99221b14
Author :
Date :
2025-08-19T09:23:26
doc: Update for glibc 2.41. * doc/glibc-functions/sched_getattr.texi: New file. * doc/glibc-functions/sched_setattr.texi: New file. * doc/gnulib.texi (Glibc sched.h): Include them. * doc/posix-functions/initstate.texi: Update. * doc/glibc-functions/initstate_r.texi: Likewise. * doc/posix-functions/compoundn*.texi: Likewise.
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 33 34 35 36 37
@node initstate
@subsection @code{initstate}
@findex initstate
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/initstate.html}
Gnulib module: random
@mindex random
Portability problems fixed by Gnulib:
@itemize
@item
This function is missing on some platforms:
mingw, MSVC 14, Android 4.4.
@item
This function is not declared on some platforms:
Cygwin 1.5.25.
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@item
This function crashes if the state buffer is unaligned on some platforms:
@c https://sourceware.org/PR30584
glibc 2.40/sparc.
@item
The first parameter is @code{unsigned long} instead of @code{unsigned int} on
some platforms:
MidnightBSD 2.0.
@item
The third parameter is @code{long} instead of @code{size_t} on some platforms:
MidnightBSD 2.0.
@item
This function makes out-of-bounds writes on some platforms:
@c https://dev.haiku-os.org/ticket/18346
Haiku.
@end itemize