summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/strlcpy.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add framework for resolving (pun intended) libc namespace issues, usingguenther2015-08-311-1/+2
| | | | | | | | | | | | wrapper .h files and asm labels to let internal calls resolve directly and not be overridable or use the PLT. Then, apply that framework to most of the functions in stdio.h, string.h, err.h, and wchar.h. Delete the should-have-been-hidden-all-along _v?(err|warn)[cx]? symbols while here. tests clean on i386, amd64, sparc64, powerpc, and mips64 naming feedback from kettenis@ and millert@ ok kettenis@
* Make strlcpy/strlcat slightly easier to read.millert2015-01-151-19/+18
|
* Convert do {} while loop -> while {} for clarity. No binary changemillert2006-05-051-5/+5
| | | | on most architectures. From Oliver Smith. OK deraadt@ and henning@
* zap remaining rcsid.espie2005-08-081-5/+1
| | | | | | Kill old files that are no longer compiled. okay theo
* ansify + deregister. no binary change on i386. ok deraadt@ pat@ moritz@otto2005-03-301-5/+5
|
* Sync with share/misc/license.template and add missing DARPA creditmillert2003-06-171-9/+9
| | | | where applicable.
* Change copyright to a less restrictive ISC-style license to encouragemillert2003-04-121-23/+12
| | | | people to bundle this code.
* ANSI function headersmillert2003-03-141-6/+3
|
* type of function on seperate linederaadt2001-05-131-3/+4
|
* Break up into two loops, one for the copy, another to finish traversalmillert1999-05-011-13/+17
| | | | of the src string if len(src) >= size. Speeds up the common case a bit.
* simplified version that doesn't call strlen and that is simpler to convert ↵millert1999-04-241-7/+8
| | | | to assembler (both for gcc and me)
* add missing const to match prototype in string.hwvdputte1998-11-061-3/+3
|
* add strlcpy/strlcat, safe and sensible string copy/appendmillert1998-07-011-0/+63