Return to ServerRunStatus.cpp CVS log | Up to [Pegasus] / pegasus / src / Service |
version 1.6.2.1, 2007/09/12 23:56:27 | version 1.6.2.2, 2007/12/01 01:16:33 | ||
---|---|---|---|
|
| ||
static char path[32]; | static char path[32]; | ||
static struct stat statBuffer; | static struct stat statBuffer; | ||
sprintf(path, "/proc/%d", pid); | sprintf(path, "/proc/%d", (int)pid); | ||
if (stat(path, &statBuffer) == -1) // process stopped running | if (stat(path, &statBuffer) == -1) // process stopped running | ||
{ | { | ||
return false; | return false; |
|
No CVS admin address has been configured |
Powered by ViewCVS 0.9.2 |