extern "C" DWORD
cygwin_internal
(cygwin_getinfo_types t, ...);This function gives you access to various internal data and functions. It takes two arguments. The first argument is a type from the 'cygwin_getinfo_types' enum. The second is an optional pointer.
Stay away unless you know what you're doing.