PhoenixMock  1.8.7
Tools to split/merge/print mock used in Phoenix
phoenix_random.cpp
Go to the documentation of this file.
1 /***************************************
2  Auteur : Pierre Aubert
3  Mail : pierre.aubert@lapp.in2p3.fr
4  Licence : CeCILL-C
5 ****************************************/
6 
7 #include "phoenix_random.h"
8 
9 
11 
13 unsigned int phoenix_initRandom(){
14  time_t t = time(NULL);
15  srand(t);
16  return t;
17 }
18 
19 
phoenix_initRandom
unsigned int phoenix_initRandom()
Set the random seed.
Definition: phoenix_random.cpp:13
phoenix_random.h