aboutsummaryrefslogtreecommitdiffstats
path: root/man3
diff options
context:
space:
mode:
Diffstat (limited to 'man3')
-rw-r--r--man3/random_r.37
1 files changed, 5 insertions, 2 deletions
diff --git a/man3/random_r.3 b/man3/random_r.3
index 9f7297b72f..829eb81a14 100644
--- a/man3/random_r.3
+++ b/man3/random_r.3
@@ -23,7 +23,7 @@
.\" %%%LICENSE_END
.\"
.\"
-.TH RANDOM_R 3 2008-03-07 "GNU" "Linux Programmer's Manual"
+.TH RANDOM_R 3 2013-04-19 "GNU" "Linux Programmer's Manual"
.SH NAME
random_r, srandom_r, initstate_r, setstate_r \- reentrant
random number generator
@@ -98,7 +98,10 @@ except that it modifies the state in the object pointer to by
.IR buf ,
rather than modifying the global state variable.
.SH RETURN VALUE
-All of these functions return 0 on success, or \-1 on error.
+All of these functions return 0 on success.
+On error, \-1 is returned, with
+.I errno
+set to indicate the cause of the error.
.SH ERRORS
.TP
.B EINVAL