News for hackers. Stuff that matters.
Re:The Sad State of C Strings by reacweb on Wednesday February 10, 2016 @07:18AM (#11072222)
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.
Re:The Sad State of C Strings by ktRolster on Wednesday February 10, 2016 @02:34PM (#11075339)
If you need to copy big strings, memcpy is worth checking out, too.