Home
last modified time | relevance | path

Searched refs:status_path (Results 1 – 1 of 1) sorted by relevance

/titanic_41/usr/src/cmd/lms/tools/
H A DATVersion.cpp117 char status_path[256]; in IsAppRunning() local
125 memset(status_path, '\0', sizeof(status_path)); in IsAppRunning()
126 snprintf(status_path, sizeof(status_path), AT_PIDFILE_NAME_FORMAT, appName); in IsAppRunning()
127 std::ifstream pidf(status_path); in IsAppRunning()
137 memset(status_path, '\0', sizeof(status_path)); in IsAppRunning()
138 snprintf(status_path, sizeof(status_path), AT_DEF_PIDFILE_NAME_FORMAT, appName); in IsAppRunning()
139 pidf.open(status_path); in IsAppRunning()
154 memset(status_path, '\0', sizeof(status_path)); in IsAppRunning()
155 if (-1 != readlink("/proc/self", status_path, sizeof(status_path))) { in IsAppRunning()
156 selfpid = std::atol(status_path); in IsAppRunning()
[all …]