IoTivity-Lite
oc_random.h File Reference
#include "oc_export.h"

Functions

void oc_random_destroy (void)
 destroy the pseudo-random generator More...
 
void oc_random_init (void)
 Initialize the pseudo-random generator. More...
 
unsigned int oc_random_value (void)
 Calculate a pseudo random number. More...
 

Function Documentation

◆ oc_random_destroy()

void oc_random_destroy ( void  )

destroy the pseudo-random generator

◆ oc_random_init()

void oc_random_init ( void  )

Initialize the pseudo-random generator.

◆ oc_random_value()

unsigned int oc_random_value ( void  )

Calculate a pseudo random number.

Returns
A pseudo-random number.