delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/06/28/15:53:35

X-Spam-Check-By: sourceware.org
Message-ID: <468411A9.A9C9F296@dessent.net>
Date: Thu, 28 Jun 2007 12:53:13 -0700
From: Brian Dessent <brian AT dessent DOT net>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Looking for man pages
References: <FF8482A96323694490C194BABEAC24A0011F1C40 AT Email DOT cbord DOT com> <20070628180239 DOT GJ30973 AT calimero DOT vinschen DOT de> <FF8482A96323694490C194BABEAC24A0011F1DFF AT Email DOT cbord DOT com> <46840973 DOT BD68B5A4 AT dessent DOT net> <FF8482A96323694490C194BABEAC24A0011F1E57 AT Email DOT cbord DOT com>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Bob McConnell wrote:

> But you are sending me to the SUS documentation, which is also missing
> those differences? That seems rather counter productive.
> 

The SUSv3 (POSIX) specifies an abstract ideal standard, not any one
particular implementation.  The Linux manpages document a specific
implementation of this standard, one which has historically been
somewhat militant about "we will do what the standard says when it makes
sense to us, but we will invent extensions when we disagree with it."

Or in other words, it is a bug if Cygwin doesn't implement something
that POSIX says it should.  It's not a bug if Cygwin doesn't or can't
implement some glibc extension or optimization (though of course for
porting it would be desirable if we could as much as possible.)  In that
sense, using the POSIX spec as documentation when programming under
Cygwin is a good idea; in fact it's a good idea to code to POSIX no
matter what OS you're using, since otherwise you're liable to use
nonportable constructs that are specific to your operating system.

> Are there any documents available that explain those differences, or are
> they only held in the programmers' heads at this point?

Cygwin includes a list of which functions from the various standards it
implements and where it differs.  This is at
<http://cygwin.com/cygwin-api/cygwin-api.html>, though I don't know if
this reflects the recent cleanup that was done to this documentation.

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/

- Raw text -


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