Branch
Hash :
c36a0f21
Author :
Date :
2024-10-27T17:01:29
doc: Add a module index. * doc/Makefile (undocumented-modules.texi): New rule. (%.info, %.html, %.dvi, %.pdf): Depend on undocumented-modules.texi. (mostlyclean): Remove also *.m and *.tmp. (force): New rule. * doc/*.texi: Add module index entries. * doc/*/*.texi: Likewise.
@node srandom
@subsection @code{srandom}
@findex srandom
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/srandom.html}
Gnulib module: random
@mindex random
Portability problems fixed by Gnulib:
@itemize
@item
This function is missing on some platforms:
mingw, MSVC 14.
@item
This function is only defined as an inline function on some platforms:
Android 4.4.
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@item
This function has a slightly incompatible declaration (the return type being
@samp{long} instead of @samp{void}) on some platforms:
Cygwin 1.5.25.
@item
The parameter is @code{unsigned long} instead of @code{unsigned int} on some
platforms:
MidnightBSD 2.0.
@item
This function has no effect on some platforms:
OpenBSD 7.4.
This platform has, instead, a function @code{srandom_deterministic}.
@end itemize