rogged/src/rng.h
NotAShelf b381e2efbd
initial commit
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ie3b66d17f6f660c9b9a719210bd86f9f6a6a6964
2026-03-19 17:01:54 +03:00

10 lines
199 B
C

#ifndef RNG_H
#define RNG_H
// Seed the RNG with a deterministic value
void rng_seed(unsigned int seed);
// Get a random integer in range [min, max]
int rng_int(int min, int max);
#endif // RNG_H