Browse Source

Document the lack of error return value in arc4random.

Sync the documentation in getpid with arc4random's format.
OPENBSD_4_2
pyr 17 years ago
parent
commit
9755492ad5
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      src/lib/libc/crypt/arc4random.3

+ 4
- 1
src/lib/libc/crypt/arc4random.3 View File

@ -1,4 +1,4 @@
.\" $OpenBSD: arc4random.3,v 1.19 2005/07/17 08:50:55 jaredy Exp $
.\" $OpenBSD: arc4random.3,v 1.20 2007/05/02 09:20:59 pyr Exp $
.\" .\"
.\" Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de> .\" Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de>
.\" All rights reserved. .\" All rights reserved.
@ -87,6 +87,9 @@ before using
since since
.Fn arc4random .Fn arc4random
automatically initializes itself. automatically initializes itself.
Sh RETURN VALUES
These functions are always successful, and no return value is
reserved to indicate an error.
.Sh SEE ALSO .Sh SEE ALSO
.Xr rand 3 , .Xr rand 3 ,
.Xr rand48 3 , .Xr rand48 3 ,


Loading…
Cancel
Save