| 1634 | } |
| 1635 | |
| 1636 | void ImStrncpy(char* dst, const char* src, size_t count) |
| 1637 | { |
| 1638 | if (count < 1) |
| 1639 | return; |
| 1640 | if (count > 1) |
| 1641 | strncpy(dst, src, count - 1); |
| 1642 | dst[count - 1] = 0; |
| 1643 | } |
| 1644 | |
| 1645 | char* ImStrdup(const char* str) |
| 1646 | { |
no outgoing calls
no test coverage detected