aboutsummaryrefslogtreecommitdiff
path: root/libc/inc/random.h
diff options
context:
space:
mode:
authorMarvin Borner2021-03-08 19:30:48 +0100
committerMarvin Borner2021-03-08 19:30:48 +0100
commit38cfba2f71bfa9bdea562cb6465b9dc0155fc467 (patch)
treefd2e4fccc637135fe2934c35ce697af16b2a5831 /libc/inc/random.h
parent776f1da4686d57dfa1c398d3b875d174fe6082c6 (diff)
Better randomization (soon: random memory locs)
Diffstat (limited to 'libc/inc/random.h')
-rw-r--r--libc/inc/random.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/inc/random.h b/libc/inc/random.h
index 59add9b..a82524c 100644
--- a/libc/inc/random.h
+++ b/libc/inc/random.h
@@ -6,6 +6,8 @@
#include <def.h>
void srand(u32 seed);
+u32 rdrand(void);
+u32 rdseed(void);
u32 rand(void);
char *randstr(u32 size);