projects
/
fw
/
pdclib
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Porting current working set from CVS.
[fw/pdclib]
/
functions
/
stdlib
/
srand.c
1
/* $Id$ */
2
3
/* Release $Name$ */
4
5
/* srand( unsigned int )
6
7
This file is part of the Public Domain C Library (PDCLib).
8
Permission is granted to use, modify, and / or redistribute at will.
9
*/
10
11
#include <stdlib.h>
12
13
#ifndef REGTEST
14
15
void srand( unsigned int seed )
16
{
17
_PDCLIB_seed = seed;
18
}
19
20
#endif
21
22
#ifdef TEST
23
#include <_PDCLIB_test.h>
24
25
int main( void )
26
{
27
/* tested in rand.c */
28
return TEST_RESULTS;
29
}
30
31
#endif