3 ms·
strdup is nice, but it always depends on your use case. memcpy is probably best if you're keeping track of lengths separately.
by steve-howard 14y ago
strdup is nice, but it always depends on your use case.
memcpy is probably best if you're keeping track of lengths separately.