> In Unix I can do
>
> srand( (UT_uint32) time())
>
> Since time always increases
> this will always work :-)

Humm... I think time have always increased in BeOS
too (until now, I mean, I should check that in the future
again :-)...
So I gess this solution sould work on BeOS too IF you use
uint32 real_time_clock (void) instead of time()
This function is defined in  be/kernel/OS.h

[From the BeBook : real_time_clock() returns the number of seconds
that have elapsed since January 1, 1970.]

Stephane



Reply via email to