[Scottish] allowing a large newborn sea-mammal to collide with a rocky plane toid object devoid of atmosphere somewhere in another galaxy

Gordon JC Pearce scottish at mailman.lug.org.uk
Thu Mar 20 12:20:05 2003


On Thu, 2003-03-20 at 11:56, Huard, Elise - D C&W Consultant wrote:
> wee question (to replace the pin-drop jokes :-) ) :
> program in C under Unix.
> Is there any way to get the time in tenth or hundredth of seconds ?
> Or to phrase it differently : i need a random number generator that won't
> give the same sequence of numbers every time that the seed is reinitialised
> in the same second (by 2 different users)
> srand(time(NULL)) 
> and then rand()
> doesn't work.
> Or a different kind of seed ?  Suggestions are welcome (should be readily
> available in your standard Unix system)
> Thanks,
> 
> Elise
> ***********************************************************************************

Read some entropy from /dev/urandom