svn commit: r301448 - head/lib/libc/stdlib

Andrey A. Chernov ache at FreeBSD.org
Sun Jun 5 15:46:15 UTC 2016


Author: ache
Date: Sun Jun  5 15:46:14 2016
New Revision: 301448
URL: https://svnweb.freebsd.org/changeset/base/301448

Log:
  Reflect error indication according to POSIX and what those functions
  currently do.

Modified:
  head/lib/libc/stdlib/random.3

Modified: head/lib/libc/stdlib/random.3
==============================================================================
--- head/lib/libc/stdlib/random.3	Sun Jun  5 15:05:53 2016	(r301447)
+++ head/lib/libc/stdlib/random.3	Sun Jun  5 15:46:14 2016	(r301448)
@@ -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 ,


More information about the svn-src-all mailing list