MCPcopy Create free account
hub / github.com/WaykiChain/WaykiChain / GetPidFile

Function GetPidFile

src/commons/util/util.cpp:695–700  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

693}
694
695fs::path GetPidFile() {
696 fs::path pathPidFile(SysCfg().GetArg("-pid", "coind.pid"));
697 if (!pathPidFile.is_complete()) pathPidFile = GetDataDir() / pathPidFile;
698
699 return pathPidFile;
700}
701
702#ifndef WIN32
703void CreatePidFile(const fs::path& path, pid_t pid) {

Callers 2

AppInitFunction · 0.85
ShutdownFunction · 0.85

Calls 1

GetArgMethod · 0.80

Tested by

no test coverage detected