Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | comment fix; strlcat returns strlen(initial dst) + strlen(src). | itojun | 2000-11-24 | 1 | -3/+4 |
| | |||||
* | When finding the end of dst, never traverse more than siz bytes. This | millert | 1999-06-17 | 1 | -5/+5 |
| | | | | | | keeps us from misbehaving if the user gives us a src string that is not NUL-terminated. This is one of those "should not happen" cases but it is good to play it safe. Pointed out by Casper Dik <casper@holland.sun.com> | ||||
* | add strlcpy/strlcat, safe and sensible string copy/append | millert | 1998-07-01 | 1 | -0/+71 |