@node setstate
@section @code{setstate}
@findex setstate

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

Gnulib module: 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 11.1, AIX 7.1, HP-UX 11.31, IRIX 6.5, Solaris 11 OpenIndiana.
@end itemize
