[PATCH v4] Implement strlcpy [BZ #178]

Paul Eggert eggert@cs.ucla.edu
Wed Nov 4 16:12:00 GMT 2015


On 11/04/2015 05:11 AM, Florian Weimer wrote:
> My question is whether we should
> specify this explicitly for strlcpy.  It would give the impression that
> strlcpy is special in this regard, but it really is not.
Not a problem, we can add a phrase to avoid giving that impression. 
Something like "Like other string-copying functions but unlike strncpy, 
strlcpy does not modify the part of the destination buffer that follows 
the trailing null byte."



More information about the Libc-alpha mailing list