Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Originating-IP: [128.54.220.195]
X-Originating-Email: [yupeng_@hotmail.com]
X-Sender: yupeng_@hotmail.com
From: "Peng Yu" <yupeng_@hotmail.com>
To: <cygwin@cygwin.com>, "Tim Prince" <tprince@computer.org>
References: <BAY12-DAV48iixjnzi900000804@hotmail.com> <6.0.1.1.0.20040228224720.01f4cda0@imap.myrealbox.com>
Subject: Re: gettimeofday
Date: Sat, 28 Feb 2004 23:00:26 -0800
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-ID: <BAY12-DAV13gm5D6wjZ00006c26@hotmail.com>
X-OriginalArrivalTime: 29 Feb 2004 07:00:26.0954 (UTC) FILETIME=[B5C0F2A0:01C3FE91]
X-IsSubscribed: yes

What is AFAIK?
How I can fall back on the Windows API?

Peng
----- Original Message -----
From: "Tim Prince" <tprince@computer.org>
To: "Peng Yu" <yupeng_@hotmail.com>; <cygwin@cygwin.com>
Sent: Saturday, February 28, 2004 10:54 PM
Subject: Re: gettimeofday


> At 09:53 PM 2/28/2004, Peng Yu wrote:
>
> >Hi,
> >
> >     I want read the manual of the C++ function gettimeofday. But I can't
> >find it. I'm not sure whether I installed it or not. Can somebody help
me?
> >Thanks.
>
> Not part of C++ AFAIK.  It's a posix function with C binding.  Apparently,
> there's no cygwin specific documentation other than source code.  The
> implementation used by cygwin doesn't set the fractional seconds fields,
so
> you must fall back on the Windows API for milliseconds.
>
>
> Tim Prince
>
>

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

