]> Savannah Git Hosting - gnulib.git/commit
getrandom: Doc and test tweaks.
authorBruno Haible <bruno@clisp.org>
Sun, 31 May 2020 16:47:12 +0000 (18:47 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 31 May 2020 16:47:12 +0000 (18:47 +0200)
commit9de2f9ad0a12f0c048e9c9e573f77f35288f0c43
treef91d6a21a805d80dc6c9616e29328a1786c71769
parent8175e3ddda29a03d5e0aec4a1774339414996565
getrandom: Doc and test tweaks.

* lib/getrandom.c (getrandom): Mention that it never returns 0, and that
it sets errno when failing.
* tests/test-getrandom.c (main): Disable the high-quality check on those
platforms on which it fails.
* doc/glibc-functions/getrandom.texi: Add Minix, AIX, HP-UX, IRIX,
Cygwin to the list of platforms that don't have the function. Add a note
about the quality of the result.
* doc/glibc-headers/sys_random.texi: Don't mention the 'getrandom'
declaration; this is fixed by module 'getrandom'.
ChangeLog
doc/glibc-functions/getrandom.texi
doc/glibc-headers/sys_random.texi
lib/getrandom.c
tests/test-getrandom.c