Dibbler - a portable DHCPv6  1.0.2RC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
random.h File Reference

returns random numbers More...

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


int posrandom ()
 return strong random number
int possimplerandom ()
 return simple random number

Detailed Description

returns random numbers

This source file hosts the posrandom() function for generating random numbers.

Function Documentation

int posrandom ( )

return strong random number

This function returns a strongly random number that should be unpredictable.

int possimplerandom ( )

return simple random number

This function returns a simple random number, and therefore, it is much faster than posrandom().