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