| 67 | |
| 68 | #ifdef _win_ |
| 69 | static char* Strip(char* s) { |
| 70 | size_t len = strlen(s); |
| 71 | const char* ptr = s; |
| 72 | Strip(ptr, len); |
| 73 | if (ptr != s) { |
| 74 | memmove(s, ptr, len); |
| 75 | } |
| 76 | s[len] = 0; |
| 77 | return s; |
| 78 | } |
| 79 | #endif // _win_ |
| 80 | |
| 81 | void LastSystemErrorText(char* str, size_t size, int code) { |
no test coverage detected