summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordm <dm@cvs.openbsd.org>1996-12-28 06:33:02 +0000
committerdm <dm@cvs.openbsd.org>1996-12-28 06:33:02 +0000
commit0f67649f23bdf931dd2b6c1280e429d7f19dfb13 (patch)
treef04fe621cb809bfdf5111b2249c6ac6bf8df22c2 /include
parent2d21736ca83f1ec9c38a72fba9ae9d5f45ee76cb (diff)
arc4random() number generator, for use with things like RPC xid's.
Diffstat (limited to 'include')
-rw-r--r--include/stdlib.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/stdlib.h b/include/stdlib.h
index 1a9f01de3b9..fc76da7ab75 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -190,6 +190,10 @@ long mrand48 __P((void));
long nrand48 __P((unsigned short[3]));
unsigned short *seed48 __P((unsigned short[3]));
void srand48 __P((long));
+
+u_int32_t arc4random __P((void));
+void arc4random_stir __P((void));
+void arc4random_addrandom __P((u_char *, int));
#endif /* !_ANSI_SOURCE && !_POSIX_SOURCE */
__END_DECLS