1
0
mirror of https://https.git.savannah.gnu.org/git/gnulib.git synced 2026-04-28 06:33:36 +00:00

doc: Mention getrandom, getentropy.

* doc/glibc-functions/getrandom.texi: New file.
* doc/glibc-functions/getentropy.texi: New file.
* doc/gnulib.texi (Glibc sys/random.h): New section.
This commit is contained in:
Bruno Haible
2019-06-10 14:08:31 +02:00
parent 95a6c97d21
commit d358d60bd8
3 changed files with 70 additions and 0 deletions

View File

@@ -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

View File

@@ -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

View 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>}