X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 	tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <4ADA606F.8000502@columbus.rr.com>
References: <4ADA430A.8060209@columbus.rr.com> 	 <416096c60910171551q681933c5ocd41ecee975e0384@mail.gmail.com> 	 <4ADA606F.8000502@columbus.rr.com>
Date: Sun, 18 Oct 2009 07:27:17 +0100
Message-ID: <416096c60910172327w261e736ew33f18a5ede2f231a@mail.gmail.com>
Subject: Re: Contents of /usr/share/man/man2 is empty
From: Andy Koppe <andy.koppe@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

2009/10/18 Paul McFerrin:
> Yes, it is an emulation of a Kernel

No, there is no _syscall interface into the kernel as there is on
Linux and elsewhere. Cygwin emulates the C library layer instead.

However, looking at my Debian system after installing the
'manpages-dev' package, 'man 2' is actually taken to mean 'library
system calls', i.e. it contains all the C-level wrappers around the
actual syscalls. Those include many standard POSIX functions that
Cygwin does implement, i.e. the likes of fork() and mknod().

So I guess a volunteer is needed to identify the pages that do apply
and package them up.

Apart from that, I find the POSIX spec is a great resource for this
sort of thing, e.g.:
http://www.opengroup.org/onlinepubs/000095399/functions/fork.html

And there are various online versions of the Linux man pages, e.g.:
http://linux.die.net/man/2

Andy

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

