CS string functions
Copies a null-terminated C string into a buffer
XS_EXPORT bool XSCStringCopy(
char *buf,
size_t size,
const char *str,
size_t count );
This function will attempt to copy `count` bytes from `str` into `buf`, assuming there is enough room for it, including the termination character. The destination buffer will be zero-initialized whether or not the string is copied.
True if the string was copied, otherwise false