OSDN Git Service
(root)
/
winexe-harib
/
winexe-harib.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
first commit
[winexe-harib/winexe-harib.git]
/
golibc
/
rand.c
1
/* copyright(C) 2003 H.Kawai (under KL-01). */
2
3
unsigned int rand_seed = 1;
4
5
extern "C" int rand(void)
6
{
7
rand_seed = rand_seed * 1103515245 + 12345;
8
return (unsigned int) (rand_seed >> 16) & 32767;
9
}