MCPcopy Create free account
hub / github.com/crownengine/crown / getCurrentPath

Function getCurrentPath

3rdparty/bx/src/filepath.cpp:189–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187 }
188
189 static bool getCurrentPath(char* _out, uint32_t* _inOutSize)
190 {
191 uint32_t len = *_inOutSize;
192 if (NULL != pwd(_out, len))
193 {
194 *_inOutSize = strLen(_out);
195 return true;
196 }
197
198 return false;
199 }
200
201 static bool getExecutablePath(char* _out, uint32_t* _inOutSize)
202 {

Callers 1

setMethod · 0.85

Calls 2

pwdFunction · 0.85
strLenFunction · 0.85

Tested by

no test coverage detected