* sysconf.cc (sysinfo): New function.

* cygwin.din (sysinfo): Export.
* posix.sgml (std-gnu): Add sysinfo.
* include/sys/sysinfo.h (struct sysinfo): Define.
(sysinfo): Declare.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
This commit is contained in:
Yaakov Selkowitz
2011-05-06 18:53:21 +00:00
parent cc718e26c6
commit 2f52cad971
6 changed files with 129 additions and 3 deletions

View File

@ -408,12 +408,13 @@ details. */
241: Export pthread_attr_getstack, pthread_attr_getstackaddr,
pthread_getattr_np.
242: Export psiginfo, psignal, sys_siglist.
243: Export sysinfo.
*/
/* Note that we forgot to bump the api for ualarm, strtoll, strtoull */
#define CYGWIN_VERSION_API_MAJOR 0
#define CYGWIN_VERSION_API_MINOR 242
#define CYGWIN_VERSION_API_MINOR 243
/* There is also a compatibity version number associated with the
shared memory regions. It is incremented when incompatible