aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/stdlib/random.3
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1997-06-14 00:14:29 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1997-06-14 00:14:29 +0000
commit96c31b26181a194d24da9e7f89671ffa1e9d92db (patch)
tree6aa8fbc7f9c26c0a900ee0467b7643a1b2ffe3f0 /lib/libc/stdlib/random.3
parent854d14213ed3308ac581f9ced05328baddee5944 (diff)
Notes
Diffstat (limited to 'lib/libc/stdlib/random.3')
-rw-r--r--lib/libc/stdlib/random.37
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/libc/stdlib/random.3 b/lib/libc/stdlib/random.3
index 21950846d47d..469149824060 100644
--- a/lib/libc/stdlib/random.3
+++ b/lib/libc/stdlib/random.3
@@ -47,7 +47,7 @@
.Fn random void
.Ft void
.Fn srandom "unsigned long seed"
-.Ft int
+.Ft void
.Fn srandomdev void
.Ft char *
.Fn initstate "unsigned long seed" "char *state" "long n"
@@ -108,11 +108,6 @@ calling
with any value, since the succeeding terms in the
state buffer are no longer derived from the LC algorithm applied to
a fixed seed.
-If successful
-.Fn srandomdev
-returns 0. It returns -1 on failure, and sets
-.Va errno
-to indicate the error.
.Pp
The
.Fn initstate