| 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 | { |
no test coverage detected