ParentFull threadsteve-howard·strdup is nice, but it always depends on your use case.memcpy is probably best if you're keeping track of lengths separately.View on HN