diff options
author | ache <ache@FreeBSD.org> | 2016-06-05 15:46:14 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2016-06-05 15:46:14 +0000 |
commit | 35ed7900179da58d69c441f8d527d5ce2c794a7e (patch) | |
tree | 262541c89c81a28e31caf6def1fde7133a25bcae /lib/libc | |
parent | 4f046d81dc9fba4673f6ab7640b8169461cc5f61 (diff) | |
download | FreeBSD-src-35ed7900179da58d69c441f8d527d5ce2c794a7e.zip FreeBSD-src-35ed7900179da58d69c441f8d527d5ce2c794a7e.tar.gz |
Reflect error indication according to POSIX and what those functions
currently do.
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/stdlib/random.3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdlib/random.3 b/lib/libc/stdlib/random.3 index 254be0a..a7f552c 100644 --- a/lib/libc/stdlib/random.3 +++ b/lib/libc/stdlib/random.3 @@ -174,8 +174,8 @@ If .Fn initstate is called with less than 8 bytes of state information, or if .Fn setstate -detects that the state information has been garbled, error -messages are printed on the standard error output. +detects that the state information has been garbled, +NULL is returned. .Sh SEE ALSO .Xr arc4random 3 , .Xr lrand48 3 , |