Embedded Artistry Framework
Embedded Systems C++ Framework
Functions | Variables
rand.c File Reference
#include <stdlib.h>
Include dependency graph for rand.c:

Functions

static int do_rand (unsigned long *ctx)
 
 __attribute__ ((weak))
 

Variables

static unsigned long next = 1
 

Function Documentation

◆ __attribute__()

__attribute__ ( (weak)  )

References do_rand(), and r.

◆ do_rand()

static int do_rand ( unsigned long *  ctx)
static

References RAND_MAX.

Referenced by __attribute__().

Variable Documentation

◆ next

unsigned long next = 1
static