diff options
author | ache <ache@FreeBSD.org> | 2008-07-22 11:40:42 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2008-07-22 11:40:42 +0000 |
commit | e1bf8eba273f6a33d0c6eed3154db0a8c0cad3b2 (patch) | |
tree | 78bb8608104306a58ec0e01af46a45344d802914 /include | |
parent | 06e39c3b3642e5c3f83618f9864d21117278b68f (diff) | |
download | FreeBSD-src-e1bf8eba273f6a33d0c6eed3154db0a8c0cad3b2.zip FreeBSD-src-e1bf8eba273f6a33d0c6eed3154db0a8c0cad3b2.tar.gz |
Add arc4random_uniform()
Obtained from: OpenBSD
Diffstat (limited to 'include')
-rw-r--r-- | include/stdlib.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/stdlib.h b/include/stdlib.h index 38a6a21..0a83270 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -238,6 +238,8 @@ __uint32_t void arc4random_addrandom(unsigned char *, int); void arc4random_buf(void *, size_t); void arc4random_stir(void); +__uint32_t + arc4random_uniform(__uint32_t); char *getbsize(int *, long *); /* getcap(3) functions */ char *cgetcap(char *, const char *, int); |