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

Function GetPidFile

src/util.cpp:553–558  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

551
552#ifndef WIN32
553boost::filesystem::path GetPidFile()
554{
555 boost::filesystem::path pathPidFile(GetArg("-pid", "bitcoind.pid"));
556 if (!pathPidFile.is_complete()) pathPidFile = GetDataDir() / pathPidFile;
557 return pathPidFile;
558}
559
560void CreatePidFile(const boost::filesystem::path &path, pid_t pid)
561{

Callers 2

ShutdownFunction · 0.85
AppInit2Function · 0.85

Calls 1

GetArgFunction · 0.85

Tested by

no test coverage detected