* doc/glibc-functions/getrandom.texi: New file.
* doc/glibc-functions/getentropy.texi: New file.
* doc/gnulib.texi (Glibc sys/random.h): New section.
--- /dev/null
+@node getentropy
+@subsection @code{getentropy}
+@findex getentropy
+
+Documentation:
+@itemize
+@item
+@ifinfo
+@ref{Unpredictable Bytes,,Generating Unpredictable Bytes,libc},
+@end ifinfo
+@ifnotinfo
+@url{https://www.gnu.org/software/libc/manual/html_node/Unpredictable-Bytes.html},
+@end ifnotinfo
+@item
+@uref{https://www.kernel.org/doc/man-pages/online/pages/man3/getentropy.3.html,,man getentropy}.
+@end itemize
+
+Gnulib module: ---
+
+Portability problems fixed by Gnulib:
+@itemize
+@end itemize
+
+Portability problems not fixed by Gnulib:
+@itemize
+@item
+This function is missing on many non-glibc platforms:
+glibc 2.24, Mac OS X 10.5, FreeBSD 11.0, NetBSD 5.0, OpenBSD 3.8, Minix 3.1.8, AIX 7.1, HP-UX 11.31, IRIX 6.5, OSF/1 5.1, Solaris 11.0, Cygwin, mingw, MSVC 14, Interix 3.5, BeOS, Android 9.0.
+@end itemize
--- /dev/null
+@node getrandom
+@subsection @code{getrandom}
+@findex getrandom
+
+Documentation:
+@itemize
+@item
+@ifinfo
+@ref{Unpredictable Bytes,,Generating Unpredictable Bytes,libc},
+@end ifinfo
+@ifnotinfo
+@url{https://www.gnu.org/software/libc/manual/html_node/Unpredictable-Bytes.html},
+@end ifnotinfo
+@item
+@uref{https://www.kernel.org/doc/man-pages/online/pages/man2/getrandom.2.html,,man getrandom}.
+@end itemize
+
+Gnulib module: ---
+
+Portability problems fixed by Gnulib:
+@itemize
+@end itemize
+
+Portability problems not fixed by Gnulib:
+@itemize
+@item
+This function is missing on many non-glibc platforms:
+glibc 2.24, Mac OS X 10.5, FreeBSD 11.0, NetBSD 5.0, OpenBSD 3.8, Minix 3.1.8, AIX 7.1, HP-UX 11.31, IRIX 6.5, OSF/1 5.1, Solaris 11.0, Cygwin, mingw, MSVC 14, Interix 3.5, BeOS, Android 9.0.
+@end itemize
* Glibc sys/profil.h::
* Glibc sys/ptrace.h::
* Glibc sys/quota.h::
+* Glibc sys/random.h::
* Glibc sys/reboot.h::
* Glibc sys/resource.h::
* Glibc sys/sem.h::
@include glibc-functions/quotactl.texi
+@node Glibc sys/random.h
+@section Glibc @code{<sys/random.h>}
+
+@menu
+* getentropy::
+* getrandom::
+@end menu
+
+@include glibc-functions/getentropy.texi
+@include glibc-functions/getrandom.texi
+
@node Glibc sys/reboot.h
@section Glibc @code{<sys/reboot.h>}