delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/03/25/07:29:54

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Originating-IP: [61.169.17.134]
Reply-To: "Wu Yongwei" <adah AT sh163 DOT net>
From: "Wu Yongwei" <adah_ywwu AT hotmail DOT com>
To: <cygwin AT cygwin DOT com>
Subject: Re: cygwin1.dll bug in ftime
Date: Mon, 25 Mar 2002 20:28:35 +0800
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Message-ID: <OE53HsQ9BaehkpTSFEY00018c01@hotmail.com>
X-OriginalArrivalTime: 25 Mar 2002 12:29:26.0064 (UTC) FILETIME=[B38A9B00:01C1D3F8]

Also notes the usage of "unspecified". "Unspecified" means the standard does
not say anything about the implementation, and, IMHO, the implementors are
free to choose the best practices. I think it is obviously a good way to
follow BSD.

Am I wrong?

Best regards,

Wu Yongwei

--- Original Message from Christopher Faylor ---

  int gettimeofday(struct timeval *tp, void *tzp);

  DESCRIPTION
  The gettimeofday() function obtains the current time, expressed as
  seconds and microseconds since 00:00 Coordinated Universal Time (UTC),
  January 1, 1970, and stores it in the timeval structure pointed to by
  tp.  The resolution of the system clock is unspecified.

  If tzp is not a null pointer, the behaviour is unspecified.


  int ftime(struct timeb *tp);

  DESCRIPTION
  The ftime() function sets the time and millitm members of the timeb
  structure pointed to by tp to contain the seconds and milliseconds
  portions, respectively, of the current time in seconds since 00:00:00
  UTC (Coordinated Universal Time), January 1, 1970.  The contents of the
  timezone and dstflag members of tp after a call to ftime() are
  unspecified.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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