summaryrefslogtreecommitdiff
path: root/lib/init_random_seed.h
blob: 01480338de8cf3e19c67449ed76d482c8dccdf98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef INIT_RANDOM_SEED_H__
#define INIT_RANDOM_SEED_H__

#ifdef __cplusplus
extern "C" {
#endif

  /*
   * Generate a seed for the RANDOM_NUMBER PRNG that is guaranteed to
   * be unique even if many processes are started simultaneously
   *
   * Not suitable for multi-threaded requirements
   */
  void init_random_seed (void);

#ifdef __cplusplus
}
#endif

#endif