Return to SystemWindows.cpp CVS log | Up to [Pegasus] / pegasus / src / Pegasus / Common |
version 1.34, 2003/12/08 21:29:02 | version 1.35, 2004/03/31 19:09:11 | ||
---|---|---|---|
|
| ||
// Author: Mike Brasher (mbrasher@bmc.com) | // Author: Mike Brasher (mbrasher@bmc.com) | ||
// | // | ||
// Modified By: Sushma Fernandes (sushma_fernandes@hp.com) | // Modified By: Sushma Fernandes (sushma_fernandes@hp.com) | ||
// | |||
// Nag Boranna, Hewlett-Packard Company (nagaraja_boranna@hp.com) | // Nag Boranna, Hewlett-Packard Company (nagaraja_boranna@hp.com) | ||
// Bapu Patil (bapu_patil@hp.com) | |||
// | // | ||
// Modified By: Dave Rosckes (rosckes@us.ibm.com) | // Modified By: Dave Rosckes (rosckes@us.ibm.com) | ||
// | // | ||
|
| ||
String System::getHostName() | String System::getHostName() | ||
{ | { | ||
static char hostname[64]; | static char hostname[PEGASUS_MAXHOSTNAMELEN]; | ||
if (!*hostname) | if (!*hostname) | ||
gethostname(hostname, sizeof(hostname)); | gethostname(hostname, sizeof(hostname)); |
|
No CVS admin address has been configured |
Powered by ViewCVS 0.9.2 |