This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Contents of /usr/share/man/man2 is empty


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]