3 ms·
I have already noticed some performance issue with strncpy (and big destination buffers) vs strlcpy. The two functions introduced in the article have the good c
by reacweb 11y ago
I have already noticed some performance issue with strncpy (and big destination buffers) vs strlcpy. The two functions introduced in the article have the good complexity and seem to be more handy than usual api.
- ktRolster 11y agoIf you need to copy big strings, memcpy is worth checking out, too.