aboutsummaryrefslogtreecommitdiff
path: root/libc/inc/random.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/inc/random.h')
-rw-r--r--libc/inc/random.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/libc/inc/random.h b/libc/inc/random.h
new file mode 100644
index 0000000..50c849b
--- /dev/null
+++ b/libc/inc/random.h
@@ -0,0 +1,12 @@
+// MIT License, Copyright (c) 2020 Marvin Borner
+
+#ifndef RANDOM_H
+#define RANDOM_H
+
+#include <def.h>
+
+void srand(u32 seed);
+u32 rand();
+char *randstr(u32 size);
+
+#endif