]> Savannah Git Hosting - gnulib.git/commitdiff
doc: Mention getrandom, getentropy.
authorBruno Haible <bruno@clisp.org>
Mon, 10 Jun 2019 12:08:31 +0000 (14:08 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 10 Jun 2019 12:08:31 +0000 (14:08 +0200)
* doc/glibc-functions/getrandom.texi: New file.
* doc/glibc-functions/getentropy.texi: New file.
* doc/gnulib.texi (Glibc sys/random.h): New section.

doc/glibc-functions/getentropy.texi [new file with mode: 0644]
doc/glibc-functions/getrandom.texi [new file with mode: 0644]
doc/gnulib.texi

diff --git a/doc/glibc-functions/getentropy.texi b/doc/glibc-functions/getentropy.texi
new file mode 100644 (file)
index 0000000..abdfd45
--- /dev/null
@@ -0,0 +1,29 @@
+@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
diff --git a/doc/glibc-functions/getrandom.texi b/doc/glibc-functions/getrandom.texi
new file mode 100644 (file)
index 0000000..57d55bc
--- /dev/null
@@ -0,0 +1,29 @@
+@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
index 60d5e6f498b13675253241b340170f2ca24fc858..b37b3401e08d7dd115c42bcc9f6f3bcda33e9b8d 100644 (file)
@@ -3736,6 +3736,7 @@ This list of functions is sorted according to the header that declares them.
 * 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::
@@ -5904,6 +5905,17 @@ This list of functions is sorted according to the header that declares them.
 
 @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>}