This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 11/04/2015 05:11 AM, Florian Weimer wrote:
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."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.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |