| 1739 | } |
| 1740 | |
| 1741 | void ImStrncpy(char* dst, const char* src, size_t count) |
| 1742 | { |
| 1743 | if (count < 1) |
| 1744 | return; |
| 1745 | if (count > 1) |
| 1746 | strncpy(dst, src, count - 1); |
| 1747 | dst[count - 1] = 0; |
| 1748 | } |
| 1749 | |
| 1750 | char* ImStrdup(const char* str) |
| 1751 | { |
no outgoing calls
no test coverage detected