*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: arc4random | Section: 9 | Source: OpenBSD | File: arc4random.9
ARC4RANDOM(9) FreeBSD Kernel Developer's Manual ARC4RANDOM(9) NAME arc4random, arc4random_buf, arc4random_uniform, enqueue_randomness - kernel random subsystem SYNOPSIS #include <sys/systm.h> u_int32_t arc4random(void); void arc4random_buf(void *buf, size_t nbytes); u_int32_t arc4random_uniform(u_int32_t upper_bound); void enqueue_randomness(int); DESCRIPTION arc4random() and arc4random_buf() provide random numbers and are intended to be called in any circumstance where random numbers are required. arc4random_uniform() will return a uniformly distributed random number less than upper_bound, avoiding "modulo bias" when the upper bound is not a power of two. In the worst case, this function may consume multiple iterations to ensure uniformity; see the source code to understand the problem and solution. enqueue_randomness() causes the supplied data argument to be added to the entropy pool. SEE ALSO arc4random(3), random(4) FreeBSD 14.1-RELEASE-p8 May 29, 2020 FreeBSD 14.1-RELEASE-p8

Navigation Options