File: random.h

package info (click to toggle)
glam2 1064-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 912 kB
  • ctags: 940
  • sloc: ansic: 6,925; xml: 757; asm: 74; makefile: 56
file content (14 lines) | stat: -rw-r--r-- 207 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

#if !defined(RANDOM)
#define RANDOM
#include <stdio.h>
#include <math.h>

/* Random no. seeder and generator */
void sRandom(long x);
long Random(void);

#define DIM(A) (sizeof(A)/sizeof((A)[0]))

#endif