www.delorie.com/archives/browse.cgi   search  
Mail Archives: pgcc/1999/11/09/22:27:18

Date: Wed, 10 Nov 1999 03:23:25 +0100
From: Marc Lehmann <pcg AT opengroup DOT org>
To: pgcc AT delorie DOT com
Subject: Re: ftime function works not under WINDOWS98 implementation
Message-ID: <19991110032325.H13077@cerebro.laendle>
Mail-Followup-To: pgcc AT delorie DOT com
References: <3828510F DOT 19D8DBDD AT thalamus DOT wustl DOT edu>
Mime-Version: 1.0
In-Reply-To: <3828510F.19D8DBDD@thalamus.wustl.edu>; from Gijsbert Stoet on Tue, Nov 09, 1999 at 10:51:27AM -0600
X-Operating-System: Linux version 2.2.13 (root AT cerebro) (gcc version 2.95.1 19990816 (release))
Reply-To: pgcc AT delorie DOT com
X-Mailing-List: pgcc AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Tue, Nov 09, 1999 at 10:51:27AM -0600, Gijsbert Stoet <stoet AT pcg DOT wustl DOT edu> wrote:
> If I compile this program on my linux gcc, it return the correct date.
> On my Microsoft Windows 98 PC wit a PENTIUM III (whenever this matters)
> it returns 01-18-1970 !!

since ftime is a bsd-call I suspect that it is just not implemented under
windows (which is not a bsd unix)... (and I doubt this has anything to do
with the compiler).

there is probably some windows-function to call instead...

-- 
      -----==-                                             |
      ----==-- _                                           |
      ---==---(_)__  __ ____  __       Marc Lehmann      +--
      --==---/ / _ \/ // /\ \/ /       pcg AT opengroup DOT org |e|
      -=====/_/_//_/\_,_/ /_/\_\       XX11-RIPE         --+
    The choice of a GNU generation                       |
                                                         |

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019