MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / CreatePidFile

Function CreatePidFile

src/util.cpp:982–990  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

980}
981
982void CreatePidFile(const fs::path &path, pid_t pid)
983{
984 FILE* file = fsbridge::fopen(path, "w");
985 if (file)
986 {
987 fprintf(file, "%d\n", pid);
988 fclose(file);
989 }
990}
991#endif
992
993bool RenameOver(fs::path src, fs::path dest)

Callers 1

AppInitMainFunction · 0.85

Calls 1

fopenFunction · 0.85

Tested by

no test coverage detected