diff --git a/src/lib/libc/crypt/arc4random.3 b/src/lib/libc/crypt/arc4random.3 index d32ea4a9..9c9ab870 100644 --- a/src/lib/libc/crypt/arc4random.3 +++ b/src/lib/libc/crypt/arc4random.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: arc4random.3,v 1.23 2008/03/16 19:47:43 otto Exp $ +.\" $OpenBSD: arc4random.3,v 1.24 2008/03/16 22:18:24 jmc Exp $ .\" .\" Copyright 1997 Niels Provos .\" All rights reserved. @@ -35,6 +35,8 @@ .Os .Sh NAME .Nm arc4random , +.Nm arc4random_buf , +.Nm arc4random_uniform , .Nm arc4random_stir , .Nm arc4random_addrandom .Nd arc4 random number generator @@ -89,7 +91,7 @@ will return a uniformly distributed random number less than .Fa upper_bound . .Fn arc4random_uniform is recommended over constructions like -.Do Li arc4random() % upper_bound Dc +.Dq Li arc4random() % upper_bound as it avoids "modulo bias" when the upper bound is not a power of two. .Pp The