PatchworkOS  966e257
A non-POSIX operating system.
Loading...
Searching...
No Matches
random.c File Reference
#include "random.h"
#include <stdint.h>
#include <stdlib.h>
Include dependency graph for random.c:

Go to the source code of this file.

Functions

int random_gen (void)
 
void random_seed (unsigned newSeed)
 

Variables

static uint64_t seed = 0
 

Function Documentation

◆ random_gen()

int random_gen ( void  )

Definition at line 8 of file random.c.

Here is the caller graph for this function:

◆ random_seed()

void random_seed ( unsigned  newSeed)

Definition at line 21 of file random.c.

Here is the caller graph for this function:

Variable Documentation

◆ seed

uint64_t seed = 0
static

Definition at line 6 of file random.c.