| 248 | } |
| 249 | |
| 250 | int fs_chdir(const char *path) |
| 251 | { |
| 252 | #if defined(CONF_FAMILY_WINDOWS) |
| 253 | const std::wstring wide_path = windows_utf8_to_wide(path); |
| 254 | return SetCurrentDirectoryW(wide_path.c_str()) != 0 ? 0 : 1; |
| 255 | #else |
| 256 | return chdir(path) ? 1 : 0; |
| 257 | #endif |
| 258 | } |
| 259 | |
| 260 | char *fs_getcwd(char *buffer, int buffer_size) |
| 261 | { |
no test coverage detected