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 Saturday 05 May 2007, Yuhong Bao wrote: > But one of the arguments is that programmers should be concerned about the > effect of truncation. strlcpy make it easier than strncpy to check for > truncation too, and strcpy_s (part of VC2005 libraries) refuse to copy the > string at all if the string is going to be truncated. You must use > strncpy_s with _TRUNCATE in the count parameter. what exactly is your point ? do you want to change something in glibc ? -mike
Attachment:
signature.asc
Description: This is a digitally signed message part.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |