1. corrected HAVE_PW_GECOS detection in configure (which never worked)

2. added and documented wxGetFreeMemory() for Unix (Linux/Solaris only)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-03-19 16:45:43 +00:00
parent 15909a16b3
commit bd3277fec0
8 changed files with 306 additions and 239 deletions

View File

@@ -474,10 +474,12 @@ static void TestOsInfo()
printf("Running under: %s, version %d.%d\n",
wxGetOsDescription().c_str(), major, minor);
printf("%d free bytes of memory left.\n", wxGetFreeMemory());
printf("%ld free bytes of memory left.\n", wxGetFreeMemory());
printf("Host name is %s (%s).\n",
wxGetHostName().c_str(), wxGetFullHostName().c_str());
puts("");
}
static void TestUserInfo()
@@ -488,6 +490,8 @@ static void TestUserInfo()
printf("User name is:\t%s\n", wxGetUserName().c_str());
printf("Home dir is:\t%s\n", wxGetHomeDir().c_str());
printf("Email address:\t%s\n", wxGetEmailAddress().c_str());
puts("");
}
#endif // TEST_INFO_FUNCTIONS