blob: d8f3fcff435232cc1b4ec97551c43e52dae6c17a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#include <stdlib.h>
#include "_stdlib.h"
/** get a pseudo-random number **/
int rand(void)
{
return (int)_rand(__stdlib.rand);
}
/***
computes a pseudo-random number in the range [0,CONSTANT(RAND_MAX)].
***/
/*
RETURN_SUCCESS(a pseudo-random integer)
STDC(1)
*/
|