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

Andy Koppe andy.koppe@gmail.com
Sun Oct 18 06:27:00 GMT 2009


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



More information about the Cygwin mailing list