@node setstate
@subsection @code{setstate}
@findex setstate

POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/setstate.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 has a slightly incompatible declaration (the argument type being
@samp{const char *} instead of @samp{char *}) on some platforms:
macOS 14, AIX 7.1, HP-UX 11.31, Solaris 11.4, Solaris 11 OpenIndiana.
@end itemize
