From 20e1754dbe2258381c92dd73706e8d82c0393765 Mon Sep 17 00:00:00 2001 From: pyr <> Date: Wed, 2 May 2007 09:20:59 +0000 Subject: Document the lack of error return value in arc4random. Sync the documentation in getpid with arc4random's format. --- src/lib/libc/crypt/arc4random.3 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/lib/libc/crypt/arc4random.3 b/src/lib/libc/crypt/arc4random.3 index fd127439bc..7416e44014 100644 --- a/src/lib/libc/crypt/arc4random.3 +++ b/src/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 .\" 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 , -- cgit v1.2.3-55-g6feb