Krassimir Slavchev <[EMAIL PROTECTED]> writes:

> When I try to generate random bytes  using rand() or random()
> functions I found that these functions
> return constant values!?

Show your code (preferably a minimal, compilable, example); 
chances are that you are not initializing the state properly 
for use of those functions.  Note that those functions are not 
in any way related to the kernel random(4) device.

I suspect this question would be more appropriate on
FreeBSD-Questions; the version of FreeBSD you're running 
isn't really relevant.  
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to