summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/strlcpy.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.
* - License change to a less restrictive one;delphij2008-10-191-33/+16
| | | | | | | | - ANSIfy; - Convert do {} while loop -> while {} for clarity; - Sync RCS ID with OpenBSD; Obtained from: OpenBSD
* o Make grep ^strlcpy work: put a return value type on separate line.maxim2006-06-151-1/+2
|
* Remove extra closing parenthesis added in revision 1.4.stefanf2004-10-141-1/+1
| | | | Noticed by: Andrea Campi
* 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-7/+3
|
* Make the rcsid and FreeBSD IDs more sane in the wcs* and wmem* files.obrien2001-05-241-0/+6
| | | | Do the same for the non-wcs*/wmem* files while I'm here.
* Use the latest version of these files from OpenBSD.imp1999-08-101-12/+17
| | | | | | | | | | 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/+63
Obtained from: OpenBSD
OpenPOWER on IntegriCloud