| file | crndc.c | 
| declaration | 
function get_rand(m)
    define m	integer
 | 
| returns | r, integer, random number | 
| purpose | Returns a random number in the range [0.. m]. | 
| example | none | 
| notes | none | 
| file | crndc.c | 
| declaration | function get_seed() | 
| returns | s, integer, generated seed | 
| purpose | Obtains a seed suitable for the random generator from the sistem clock. | 
| example | none | 
| notes | none | 
| file | crndc.c | 
| declaration | function say_seed() | 
| returns | s, integer, current random number generator seed | 
| purpose | Returns the current random number generator seed. | 
| example | none | 
| notes | none | 
| file | crndc.c | 
| declaration | 
function start_rand(s)
    define s	integer
 | 
| returns | nothing | 
| purpose | Sets the random number generator seed. | 
| example | none | 
| notes | none | 
| Please address questions or comments to
    marco greco (last updated Thu, 28 March 2002 16:04:48 GMT) |