Inexor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions | Variables
helpers.cpp File Reference
#include "inexor/test/helpers.hpp"
#include <cstring>

Functions

void rndcopy (void *dst, size_t len)
 Copy any number of random bytes into a buffer. More...
 

Variables

default_random_engine trand
 

Function Documentation

void rndcopy ( void dst,
size_t  len 
)

Copy any number of random bytes into a buffer.

Parameters
dst– The buffer to write to
len– The size of the buffer

References trand.

Variable Documentation

default_random_engine trand

Referenced by rand(), and rndcopy().