GCS
0.2.3
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
src
gu_rand.h
1
// Copyright (C) 2013 Codership Oy <info@codership.com>
2
14
#ifndef _gu_rand_h_
15
#define _gu_rand_h_
16
17
#include "gu_arch.h"
18
19
#include <sys/types.h>
// for pid_t
20
21
extern
long
int
22
gu_rand_seed_long (
long
long
time,
const
void
* heap_ptr, pid_t pid);
23
24
#if GU_WORDSIZE == 32
25
26
extern
unsigned
int
27
gu_rand_seed_int (
long
long
time,
const
void
* heap_ptr, pid_t pid);
28
29
#else
30
31
#define gu_rand_seed_int gu_rand_seed_long
32
33
#endif
/* GU_WORDSIZE */
34
35
#endif
/* _gu_rand_h_ */
Generated on Tue Sep 16 2014 09:07:35 for GCS by
1.8.7