X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <4ADB7C5B.9080808@columbus.rr.com> Date: Sun, 18 Oct 2009 16:36:43 -0400 From: Paul McFerrin Reply-To: pmcferrin AT columbus DOT rr DOT com User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Andy Koppe , cygwin AT cygwin DOT com Subject: Re: Contents of /usr/share/man/man2 is empty References: <4ADA430A DOT 8060209 AT columbus DOT rr DOT com> <416096c60910171551q681933c5ocd41ecee975e0384 AT mail DOT gmail DOT com> <4ADA606F DOT 8000502 AT columbus DOT rr DOT com> <416096c60910172326p5fe0c850y8bb8ce17dd29dde AT mail DOT gmail DOT com> In-Reply-To: <416096c60910172326p5fe0c850y8bb8ce17dd29dde@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com I already found a source: http://www.bigbiz.com/cgi-bin/listman?2 which contains ascii formatted man pages for Linux. I used curl(1) to download the man pages, converted back to man(1) format, and installed them. I'm sure there are other pages besides the syscall version. At least I have a more current copy. My old version is at least 10 years old. Before B20 of Cygwin. Is Linux open-source?? Is is legal/possible to use these applicable pages? Andy Koppe wrote: > 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