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

Function pwd

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

Source from the content-addressed store, hash-verified

172 }
173
174 static char* pwd(char* _buffer, uint32_t _size)
175 {
176#if BX_PLATFORM_PS4 \
177 || BX_PLATFORM_XBOXONE \
178 || BX_PLATFORM_WINRT \
179 || BX_CRT_NONE
180 BX_UNUSED(_buffer, _size);
181 return NULL;
182#elif BX_CRT_MSVC
183 return ::_getcwd(_buffer, (int32_t)_size);
184#else
185 return ::getcwd(_buffer, _size);
186#endif // BX_PLATFORM_*
187 }
188
189 static bool getCurrentPath(char* _out, uint32_t* _inOutSize)
190 {

Callers 1

getCurrentPathFunction · 0.85

Calls 1

getcwdFunction · 0.70

Tested by

no test coverage detected