From 9755492ad5c108d28bb69fe7ba993bf9d33e27c8 Mon Sep 17 00:00:00 2001 From: pyr <> Date: Wed, 2 May 2007 09:20:59 +0000 Subject: [PATCH] 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(-) diff --git a/src/lib/libc/crypt/arc4random.3 b/src/lib/libc/crypt/arc4random.3 index fd127439..7416e440 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 ,