10.46.48 rand
¶
POSIX specification:
https://pubs.opengroup.org/onlinepubs/9799919799/functions/rand.html
Gnulib module: rand
Portability problems fixed by Gnulib:
- This function crashes when used in multithreaded programs on some platforms:
CheriBSD.
Portability problems not fixed by Gnulib:
- This function is only defined as an inline function on some platforms:
Android 4.4.
- This function is not multithread-safe on some platforms:
musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, AIX 7.1, Solaris 11.4.