length has to be int64_t and not size_t, since -1 means to call strlen() to get length
| 603 | |
| 604 | // length has to be int64_t and not size_t, since -1 means to call strlen() to get length |
| 605 | char * |
| 606 | _TSstrdup(const char *str, int64_t length, const char *path) |
| 607 | { |
| 608 | return _xstrdup(str, length, path); |
| 609 | } |
| 610 | |
| 611 | size_t |
| 612 | TSstrlcpy(char *dst, const char *str, size_t siz) |