Re: Question for Windows/BeOS Developers. [BeOS only]


Subject: Re: Question for Windows/BeOS Developers. [BeOS only]
From: Christopher Plymire (chrisjp@eudoramail.com)
Date: Wed Aug 23 2000 - 04:38:30 CDT


>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: abiword-dev-outgoing@abisource.com
>Received: by parsons.abisource.com (Postfix, from userid 30)
> id 13E05123826; Wed, 23 Aug 2000 03:12:41 -0500 (CDT)
>Delivered-To: abiword-dev@abisource.com
>Received: from smtp1.free.fr (smtp1.free.fr [212.27.32.5])
> by parsons.abisource.com (Postfix) with ESMTP id DFA26123823
> for <abiword-dev@abisource.com>; 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: baron.users@free.fr
>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 <msevior@mccubbin.ph.unimelb.edu.au>
>Subject: Re: Question for Windows/BeOS Developers. [BeOS only]
>Message-ID: <967018356.39a3877495ffe@imp.free.fr>
>Date: Wed, 23 Aug 2000 10:12:36 +0200 (MEST)
>Cc: abiword-dev@abisource.com
>References: <Pine.OSF.4.03.10008231725510.18438-
100000@mccubbin.ph.unimelb.edu.au>
>In-Reply-To: <Pine.OSF.4.03.10008231725510.18438-
100000@mccubbin.ph.unimelb.edu.au>
>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: owner-abiword-dev@abisource.com
>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
>



This archive was generated by hypermail 2b25 : Wed Aug 23 2000 - 08:41:52 CDT