From owner-freebsd-hackers Wed Oct 16 00:07:50 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA15489 for hackers-outgoing; Wed, 16 Oct 1996 00:07:50 -0700 (PDT) Received: from seagull.rtd.com (root@seagull.rtd.com [198.102.68.2]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id AAA15482 for ; Wed, 16 Oct 1996 00:07:47 -0700 (PDT) Received: (from dgy@localhost) by seagull.rtd.com (8.7.5/8.7.3) id AAA21402 for freebsd-hackers@freefall.cdrom.com; Wed, 16 Oct 1996 00:07:45 -0700 (MST) From: Don Yuniskis Message-Id: <199610160707.AAA21402@seagull.rtd.com> Subject: time(3) vs. gettimeofday(2) To: freebsd-hackers@freefall.FreeBSD.org (FreeBSD hackers) Date: Wed, 16 Oct 1996 00:07:45 -0700 (MST) X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Greetings! As the subject line says, I'm stumped trying to fathom the differences between these two functions. Both *claim* to report GMT yet it appears the time() implementation actually reports local time. This is on a 2.1R box. Have I missed something in the documentation? I guess I'll start poking through the library sources while you folks enjoy your sleepy-time! :> Thanx! --don