summaryrefslogtreecommitdiff
path: root/doc/posix-functions/initstate.texi
blob: 2f7a83ca9598afebf432275b3695b2f7f2c2fc7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
@node initstate
@section @code{initstate}
@findex initstate

POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/initstate.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
The first parameter is @code{unsigned long} instead of @code{unsigned int} on
some platforms:
MidnightBSD 2.0.
@item
The third parameter is @code{long} instead of @code{size_t} on some platforms:
MidnightBSD 2.0.
@item
This function makes out-of-bounds writes on some platforms:
@c https://dev.haiku-os.org/ticket/18346
Haiku.
@end itemize