summaryrefslogtreecommitdiffstats
path: root/lib/libc/crypt
diff options
context:
space:
mode:
authorpyr <pyr@openbsd.org>2007-05-02 09:20:59 +0000
committerpyr <pyr@openbsd.org>2007-05-02 09:20:59 +0000
commit4e4865b79cecbcb79623b78ec2f30c2227d3caf5 (patch)
tree3e14278b4457d2e69c081a778d154344f492e967 /lib/libc/crypt
parentdo { } while (0) for the debug macros (diff)
downloadwireguard-openbsd-4e4865b79cecbcb79623b78ec2f30c2227d3caf5.tar.xz
wireguard-openbsd-4e4865b79cecbcb79623b78ec2f30c2227d3caf5.zip
Document the lack of error return value in arc4random.
Sync the documentation in getpid with arc4random's format.
Diffstat (limited to 'lib/libc/crypt')
-rw-r--r--lib/libc/crypt/arc4random.35
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libc/crypt/arc4random.3 b/lib/libc/crypt/arc4random.3
index fd127439bcf..7416e440148 100644
--- a/lib/libc/crypt/arc4random.3
+++ b/lib/libc/crypt/arc4random.3
@@ -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>
.\" All rights reserved.
@@ -87,6 +87,9 @@ before using
since
.Fn arc4random
automatically initializes itself.
+Sh RETURN VALUES
+These functions are always successful, and no return value is
+reserved to indicate an error.
.Sh SEE ALSO
.Xr rand 3 ,
.Xr rand48 3 ,