MCPcopy Create free account
hub / github.com/OpenRCT2/OpenRCT2 / GetCurrentWorkingDirectory

Function GetCurrentWorkingDirectory

src/openrct2/platform/Platform.Linux.cpp:130–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128 }
129
130 static std::string GetCurrentWorkingDirectory()
131 {
132 char cwdPath[PATH_MAX];
133 if (getcwd(cwdPath, sizeof(cwdPath)) != nullptr)
134 {
135 return cwdPath;
136 }
137 return std::string();
138 }
139
140 std::string GetInstallPath()
141 {

Callers 1

GetInstallPathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected