mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-08 05:49:17 +00:00
Added random number generator
This commit is contained in:
14
include/rand.hpp
Normal file
14
include/rand.hpp
Normal file
@ -0,0 +1,14 @@
|
||||
#ifndef __FENNIX_KERNEL_RANDOM_H__
|
||||
#define __FENNIX_KERNEL_RANDOM_H__
|
||||
|
||||
#include <types.h>
|
||||
|
||||
namespace Random
|
||||
{
|
||||
uint16_t rand16();
|
||||
uint32_t rand32();
|
||||
uint64_t rand64();
|
||||
void changeseed(uint64_t CustomSeed);
|
||||
}
|
||||
|
||||
#endif // !__FENNIX_KERNEL_RANDOM_H__
|
Reference in New Issue
Block a user