diff options
Diffstat (limited to 'libs/libc/inc/random.h')
-rw-r--r-- | libs/libc/inc/random.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libs/libc/inc/random.h b/libs/libc/inc/random.h new file mode 100644 index 0000000..a82524c --- /dev/null +++ b/libs/libc/inc/random.h @@ -0,0 +1,14 @@ +// MIT License, Copyright (c) 2020 Marvin Borner + +#ifndef RANDOM_H +#define RANDOM_H + +#include <def.h> + +void srand(u32 seed); +u32 rdrand(void); +u32 rdseed(void); +u32 rand(void); +char *randstr(u32 size); + +#endif |