www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/05/31/07:01:57

From: dumser AT ti DOT com (James Dumser)
Subject: Re: GNU-Win32 : gettimeofday
31 May 1997 07:01:57 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <199705301859.NAA28301.cygnus.gnu-win32@lesol1.dseg.ti.com>
Mime-Version: 1.0
Original-To: cclim AT gintic DOT gov DOT sg (Lim Chu Cheow, Dr)
Original-Cc: gnu-win32 AT cygnus DOT com
In-Reply-To: <c=US%a=_%p=NTU%l=GNTCOMPAQ-970530024328Z-9812@gntcompaq.gintic.ntu.ac.sg> from "Lim Chu Cheow, Dr" at May 30, 97 10:43:28 am
X-MIMI-Options: headers none
X-Mailer: ELM [version 2.4 PL23]
Original-Sender: owner-gnu-win32 AT cygnus DOT com

On Fri, 30 May 1997 10:43:28 +0800, Lim Chu Cheow, Dr
  <cclim AT gintic DOT gov DOT sg> wrote:
>Thanks!  Since I don't follow the Unix standard changes very 
>closely, I'm a little confused now.  On a SVR4 (Solaris 2.4),
>from the man page, I get:
>
>     int gettimeofday(struct timeval *tp);
>
>Whereas for a SunOS 4.1.3, I get from the man page:
>
>     int gettimeofday(tp, tzp)
>     struct timeval *tp;
>     struct timezone *tzp;
>
>So GNU-Win32 is following an "older" Unix standard (whichever it is)?

It's more of a System V (Solaris) versus BSD (SunOS) thing. Cygwin
currently follows BSD closer than System V because there's lots of BSD
source code available that they can grab for free (System V source would
have to be licensed from AT&T or developed completely independently).

-- 
James Dumser    972-462-5335 dumser AT ti DOT com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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