13.69.10 initstate_r
LSB specification:
https://refspecs.linuxbase.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/baselib-initstate-r-1.html
Documentation:
Gnulib module: random_r
Portability problems fixed by Gnulib:
- This function is missing on some platforms:
macOS 11.1, FreeBSD 14.0, NetBSD 9.0, OpenBSD 6.7, Minix 3.1.8, HP-UX 11, IRIX 6.5, Solaris 11.4, Cygwin 2.9, mingw, MSVC 14, Android 9.0.
- This function has an incompatible declaration on some platforms:
AIX 7.1.
Portability problems not fixed by Gnulib:
- This function crashes if the state buffer is unaligned on some platforms:
glibc 2.36/sparc.
- This function has a slightly different (but compatible) declaration on some
platforms:
Haiku 2017.