mirror of https://github.com/mkerrisk/man-pages
random.3: BUGS: inistate() does not return NULL on error
http://sourceware.org/bugzilla/show_bug.cgi?id=15380 Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
d2fdbe9c99
commit
e6183193f2
|
@ -177,6 +177,14 @@ in depth, see Chapter 3 (Random Numbers) in Donald E. Knuth's
|
|||
.IR "The Art of Computer Programming" ,
|
||||
volume 2 (Seminumerical Algorithms), 2nd ed.; Reading, Massachusetts:
|
||||
Addison-Wesley Publishing Company, 1981.
|
||||
.SH BUGS
|
||||
According to POSIX,
|
||||
.BR initstate ()
|
||||
should return NULL on error.
|
||||
In the glibc implementation,
|
||||
.I errno
|
||||
is (as specified) set on error, but the function does not return NULL.
|
||||
.\" http://sourceware.org/bugzilla/show_bug.cgi?id=15380
|
||||
.SH SEE ALSO
|
||||
.BR drand48 (3),
|
||||
.BR rand (3),
|
||||
|
|
Loading…
Reference in New Issue