mirror of https://github.com/mkerrisk/man-pages
random_r.3: Add some usage notes for setstate_r()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
91e37268d6
commit
4efbcb17e9
|
@ -105,6 +105,11 @@ function is like
|
|||
except that it modifies the state in the object pointer to by
|
||||
.IR buf ,
|
||||
rather than modifying the global state variable.
|
||||
\fIstate\fP must first have been initialized
|
||||
using
|
||||
.BR initstate_r ()
|
||||
or be the result of a previous call of
|
||||
.BR setstate_r ().
|
||||
.SH RETURN VALUE
|
||||
All of these functions return 0 on success.
|
||||
On error, \-1 is returned, with
|
||||
|
|
Loading…
Reference in New Issue