summaryrefslogtreecommitdiff
path: root/lib/libc/string/strlcpy.c
Commit message (Collapse)AuthorAgeFilesLines
* Make strlcpy/strlcat slightly easier to read.Pedro F. Giffuni2015-04-061-19/+18
| | | | | | | | | Bring small upstream updates. Obtained from: OpenBSD Notes: svn path=/head/; revision=281135
* Add restrict qualifiers to the parameters to strlcpy() and strlcat().David Schultz2009-02-281-1/+1
| | | | | | | | The annotation mainly just serves as a hint that they're not intended for use with overlapping strings. Notes: svn path=/head/; revision=189133
* - License change to a less restrictive one;Xin LI2008-10-191-33/+16
| | | | | | | | | | | - ANSIfy; - Convert do {} while loop -> while {} for clarity; - Sync RCS ID with OpenBSD; Obtained from: OpenBSD Notes: svn path=/head/; revision=184059
* o Make grep ^strlcpy work: put a return value type on separate line.Maxim Konovalov2006-06-151-1/+2
| | | | Notes: svn path=/head/; revision=159644
* Remove extra closing parenthesis added in revision 1.4.Stefan Farfeleder2004-10-141-1/+1
| | | | | | | Noticed by: Andrea Campi Notes: svn path=/head/; revision=136519
* Back out the `hiding' of strlcpy and strlcat. Several peopleJacques Vidrine2003-05-011-4/+1
| | | | | | | vocally objected to this safety belt. Notes: svn path=/head/; revision=114443
* `Hide' strlcpy and strlcat (using the namespace.h / __weak_referenceJacques Vidrine2003-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 Notes: svn path=/head/; revision=114256
* Remove 'register' keyword.David E. O'Brien2002-03-211-3/+3
| | | | Notes: svn path=/head/; revision=92889
* rcsid[]->__FBSDIDDavid E. O'Brien2001-11-071-7/+3
| | | | Notes: svn path=/head/; revision=86170
* Make the rcsid and FreeBSD IDs more sane in the wcs* and wmem* files.David E. O'Brien2001-05-241-0/+6
| | | | | | | Do the same for the non-wcs*/wmem* files while I'm here. Notes: svn path=/head/; revision=77117
* Use the latest version of these files from OpenBSD.Warner Losh1999-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 Notes: svn path=/head/; revision=49594
* Import strl{cat,cpy} from OpenBSD.Warner Losh1999-08-101-0/+63
Obtained from: OpenBSD Notes: svn path=/head/; revision=49593