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 _______________________________________________ Scottish mailing list [EMAIL PROTECTED] http://mailman.lug.org.uk/mailman/listinfo/scottish