summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/strlcat.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* type of function on seperate linederaadt2001-05-131-3/+4
|
* Back out last change, it is intended behavior and update the blockmillert2001-05-071-5/+5
| | | | comment to reflect this fact. Too early in the morning for me I guess.
* strlcat() should return strlen(dst) + strlen(src) when size parametermillert2001-05-071-3/+3
| | | | | <= strlen(dst). Bug report by mark.murnane@ireland.sun.com via the GNOME folks.
* Sync function comment with man page; fanf@covalent.netmillert2001-01-131-3/+3
|
* Reverse the order of two loop invariant to make 'strlcat(0, "foo", 0)'millert2001-01-121-3/+3
| | | | not get a SEGV; Richard Kettlewell <rjk@greenend.org.uk>
* comment fix; strlcat returns strlen(initial dst) + strlen(src).itojun2000-11-241-3/+4
|
* When finding the end of dst, never traverse more than siz bytes. Thismillert1999-06-171-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/appendmillert1998-07-011-0/+71