---
name: "wnrndt"
section: "3"
platform: "linux"
package: "libwn-dev"
version: "6.0-17"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/wnrndt"
---

# wnrndt(3)

true random numbers

## NAME

wn\_true\_random\_int, wn\_true\_random\_bit - true random numbers

## SYNOPSIS

```
#include <wn/wnrndt.h>

int wn_true_random_int(void)

int wn_true_random_bit(void)
```

## DESCRIPTION

These routines generate true random numbers by XOR-ing together bits from /usr/spool/news.  They are much slower than routines for pseudo-random numbers in wnrnd, and they fail when /usr/spool/news runs out of bits.

## SEE ALSO

wnrnd

## AUTHOR

Will Naylor
