aboutsummaryrefslogtreecommitdiff
path: root/manual/examples/strncat.c
AgeCommit message (Collapse)AuthorFilesLines
2015-12-10Split large string section; add truncation advicePaul Eggert1-32/+0
* manual/examples/strncat.c: Remove. This example was misleading, as the code would have undefined behavior if "hello" was longer than SIZE. Anyway, the manual shouldn't encourage strncpy+strncat for this sort of thing. * manual/string.texi (Copying Strings and Arrays): Split into three sections Copying Strings and Arrays, Concatenating Strings, and Truncating Strings, as this section was way too long. All cross-referenced changed. Add advice about string-truncation functions. Remove misleading strncat example.
2015-01-02Update copyright dates with scripts/update-copyrights.Joseph Myers1-1/+1
2014-01-01Update copyright notices with scripts/update-copyrightsAllan McRae1-1/+1
2013-01-02Update copyright notices with scripts/update-copyrights.Joseph Myers1-1/+1
2012-03-02BZ #13792: License manual example source files under GPL.Roland McGrath1-0/+17
2012-02-18Make declarations of "main" in examples consistent.Rafe Kettler1-1/+2
1995-02-18initial importRoland McGrath1-0/+14