>Received: from parsons.abisource.com ([206.185.0.93]) by shared1-
mail.whowhere.com; Wed Aug 23 01:12:46 2000
>Received: by parsons.abisource.com (Postfix)
>       id 29003123823; Wed, 23 Aug 2000 03:12:41 -0500 (CDT)
>Delivered-To: [EMAIL PROTECTED]
>Received: by parsons.abisource.com (Postfix, from userid 30)
>       id 13E05123826; Wed, 23 Aug 2000 03:12:41 -0500 (CDT)
>Delivered-To: [EMAIL PROTECTED]
>Received: from smtp1.free.fr (smtp1.free.fr [212.27.32.5])
>       by parsons.abisource.com (Postfix) with ESMTP id DFA26123823
>       for <[EMAIL PROTECTED]>; Wed, 23 Aug 2000 03:12:39 -0500 
(CDT)
>Received: from imp2.free.fr (imp2.free.fr [212.27.32.106])
>       by smtp1.free.fr (8.9.3/8.9.3/Debian/GNU) with ESMTP id KAA15823;
>       Wed, 23 Aug 2000 10:12:38 +0200
>From: [EMAIL PROTECTED]
>Received: (from www-data@localhost)
>       by imp2.free.fr (8.9.3/8.9.3/Debian 8.9.3-6) id KAA27885;
>       Wed, 23 Aug 2000 10:12:37 +0200
>To: Martin Sevior <[EMAIL PROTECTED]>
>Subject: Re: Question for Windows/BeOS Developers. [BeOS only]
>Message-ID: <[EMAIL PROTECTED]>
>Date: Wed, 23 Aug 2000 10:12:36 +0200 (MEST)
>Cc: [EMAIL PROTECTED]
>References: <Pine.OSF.4.03.10008231725510.18438-
[EMAIL PROTECTED]>
>In-Reply-To: <Pine.OSF.4.03.10008231725510.18438-
[EMAIL PROTECTED]>
>MIME-Version: 1.0
>Content-Type: text/plain
>Content-Transfer-Encoding: 8bit
>User-Agent: IMP/PHP IMAP webmail program 2.2.0
>X-Originating-IP: 192.18.1.9
>Sender: [EMAIL PROTECTED]
>Precedence: bulk
>
>> 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

Using time(0) under BeOS will work fine as well.

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



Reply via email to