Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: [128.54.220.195] X-Originating-Email: [yupeng_ AT hotmail DOT com] X-Sender: yupeng_ AT hotmail DOT com From: "Peng Yu" To: , "Tim Prince" References: <6 DOT 0 DOT 1 DOT 1 DOT 0 DOT 20040228224720 DOT 01f4cda0 AT imap DOT myrealbox DOT 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: 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" To: "Peng Yu" ; 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/