xstrtol: remove the base-checking changes
[gnulib.git] / doc / posix-functions / srandom.texi
blob7938c6e3bc8afe1c605f03374f7cd1d2ec2497c7
1 @node srandom
2 @subsection @code{srandom}
3 @findex srandom
5 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/srandom.html}
7 Gnulib module: random
9 Portability problems fixed by Gnulib:
10 @itemize
11 @item
12 This function is missing on some platforms:
13 mingw, MSVC 14.
14 @item
15 This function is only defined as an inline function on some platforms:
16 Android 4.4.
17 @end itemize
19 Portability problems not fixed by Gnulib:
20 @itemize
21 @item
22 This function has a slightly incompatible declaration (the return type being
23 @samp{long} instead of @samp{void}) on some platforms:
24 Cygwin 1.5.25.
25 @item
26 The parameter is @code{unsigned long} instead of @code{unsigned int} on some
27 platforms:
28 MidnightBSD 2.0.
29 @item
30 This function has no effect on some platforms:
31 OpenBSD 7.4.
32 This platform has, instead, a function @code{srandom_deterministic}.
33 @end itemize