| 1696 | } |
| 1697 | |
| 1698 | void ImStrncpy(char* dst, const char* src, size_t count) |
| 1699 | { |
| 1700 | if (count < 1) |
| 1701 | return; |
| 1702 | if (count > 1) |
| 1703 | strncpy(dst, src, count - 1); |
| 1704 | dst[count - 1] = 0; |
| 1705 | } |
| 1706 | |
| 1707 | char* ImStrdup(const char* str) |
| 1708 | { |
no outgoing calls
no test coverage detected