summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/strlcat.c
Commit message (Collapse)AuthorAgeFilesLines
* Add restrict qualifiers to the parameters to strlcpy() and strlcat().das2009-02-281-1/+1
| | | | | The annotation mainly just serves as a hint that they're not intended for use with overlapping strings.
* o ANSIfy.delphij2009-01-121-29/+12
| | | | | | o Use ISC style copyright as did by the author. Obtained from: OpenBSD
* Enable building with LIBC_SCCS defined.obrien2004-10-161-1/+1
| | | | Bug submitted by: Andrea Campi <andrea+freebsd_current@webcom.it>
* Back out the `hiding' of strlcpy and strlcat. Several peoplenectar2003-05-011-4/+1
| | | | vocally objected to this safety belt.
* `Hide' strlcpy and strlcat (using the namespace.h / __weak_referencenectar2003-04-291-1/+4
| | | | | | | technique) so that we don't wind up calling into an application's version if the application defines them. Inspired by: qpopper's interfering and buggy version of strlcpy
* Remove 'register' keyword.obrien2002-03-211-3/+3
|
* rcsid[]->__FBSDIDobrien2001-11-071-5/+3
|
* Sync to OpenBSD (update comment and minor style change).kris2001-07-241-3/+4
| | | | | Obtained from: OpenBSD MFC after: 1 week
* Make the rcsid and FreeBSD IDs more sane in the wcs* and wmem* files.obrien2001-05-241-2/+4
| | | | Do the same for the non-wcs*/wmem* files while I'm here.
* - Reverse the order of two loop invariant to ensure strlcat() does notjedgar2001-01-171-3/+6
| | | | | | | | | | attempt to read memory when siz is 0 - Clarify comments referring to strlcat() usage PR: 24278, 24295 Submitted by: Tony Finch <dot@dotat.at> Richard Kettlewell <rjk@greenend.org.uk> Reviewed by: -audit
* Use the latest version of these files from OpenBSD.imp1999-08-101-5/+5
| | | | | | | | | | 1) Safty change from casper dik was added to OpenBSD's sources since I grabbed them. milltert@openbsd.org 2) Split up strlcpy to improve efficiency of the common case. milltert@openbsd.org 3) Cleanup of cross references for man page. {alex,aaron}@openbsd.org Pointed out by: deraadt@openbsd.org
* Import strl{cat,cpy} from OpenBSD.imp1999-08-101-0/+71
Obtained from: OpenBSD
OpenPOWER on IntegriCloud