git-svn-id: file:///svn/unbound/trunk@2068 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2010-04-08 08:03:36 +00:00
parent 8c8667d9f7
commit e36a4b1bc5

View file

@ -78,7 +78,7 @@ long int ub_random(struct ub_randstate* state);
/**
* Generate random number between 0 and x-1. No modulo bias.
* @param state: must have been initialised with ub_initstate.
* @param x: an upper limit. not negative or zero. must be smaller than 2**31.
* @param x: an upper limit. not (negative or zero). must be smaller than 2**31.
* @return: random value between 0..x-1. Possibly more than one
* random number is picked from the random stream to satisfy this.
*/