* sysconf.cc (get_nprocs): New function.
(get_nprocs_conf): Ditto. (get_avphys_pages): Ditto. (get_phys_pages): Ditto. * cygwin.din: Export them. * include/sys/sysinfo.h: New header, decalre above new functions. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump. * posix.sgml: Mention them as GNU extensions.
This commit is contained in:
@ -371,12 +371,13 @@ details. */
|
||||
215: CW_EXIT_PROCESS added.
|
||||
216: CW_SET_EXTERNAL_TOKEN added.
|
||||
217: CW_GET_INSTKEY added.
|
||||
218: Export get_nprocs, get_nprocs_conf, get_phys_pages, get_avphys_pages.
|
||||
*/
|
||||
|
||||
/* Note that we forgot to bump the api for ualarm, strtoll, strtoull */
|
||||
|
||||
#define CYGWIN_VERSION_API_MAJOR 0
|
||||
#define CYGWIN_VERSION_API_MINOR 217
|
||||
#define CYGWIN_VERSION_API_MINOR 218
|
||||
|
||||
/* There is also a compatibity version number associated with the
|
||||
shared memory regions. It is incremented when incompatible
|
||||
|
Reference in New Issue
Block a user