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
Message-ID: <404184E6.B79DBF3B@dessent.net>
Date: Sat, 28 Feb 2004 22:21:26 -0800
From: Brian Dessent <brian@dessent.net>
Organization: My own little world...
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: gettimeofday
References: <BAY12-DAV48iixjnzi900000804@hotmail.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Reply-To: cygwin@cygwin.com

Peng Yu wrote:

>     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?

That function is a C function, and it's part of libc, the standard C
library.  "info libc" is a good place to start.  However, there's not
much more than a mention of it in the Cygwin libc texinfo system, so you
will then want to look elsewhere.

This is a standard posix library function, so you can look at the SuSv3
standard definition:
http://www.opengroup.org/onlinepubs/007904975/functions/gettimeofday.html
... as well as manpages for common unix platforms, such as FreeBSD:
http://www.freebsd.org/cgi/man.cgi?query=gettimeofday&sektion=2
... or Linux:
http://www.gnu.org/software/libc/manual/html_node/High-Resolution-Calendar.html
... or Solaris:
http://docs.sun.com/db/doc/816-0213/6m6ne382d?a=view

Brian

--
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/

