# In init_rand avoid reading from /dev/urandom on NetBSD/FreeBSD · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/74ad31536051e68b4b9edf924662b34c30b09da7)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 74ad31536051e68b4b9edf924662b34c30b09da7

Requested commit: 74ad31536051e68b4b9edf924662b34c30b09da7

Commit: 74ad31536051e68b4b9edf924662b34c30b09da7

Tree: 4f56bc641a1c8b4050584a2a6f8f470590efbdb7

Author: nia

Committer: nia

## Message

```
In init_rand avoid reading from /dev/urandom on NetBSD/FreeBSD

Use the KERN_ARND sysctl instead.

```

## Parents

- [14a954f3507d97e1a6e6c995f3e4d3db76c64b3d](https://git.cafe/gitcafe/zig/commit/14a954f3507d97e1a6e6c995f3e4d3db76c64b3d?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/74ad31536051e68b4b9edf924662b34c30b09da7?format=markdown)
