aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/string/strlcpy.3
Commit message (Collapse)AuthorAgeFilesLines
* libc manpages: various improvements from NetBSDGordon Bergling2020-06-141-1/+11
| | | | | | | | | | | | | | - Add STANDARDS and HISTORY sections within the appropriate manpages - Mention two USENIX papers within kqueue(2) and strlcpy(3) Reviewed by: bcr (mentor) Approved by: bcr (mentor) Obtained from: NetBSD MFC after: 7 days Differential Revision: https://reviews.freebsd.org/D24650 Notes: svn path=/head/; revision=362171
* Make it clear that the "size" argument is for the dst string.Bryan Drewery2016-02-261-3/+3
| | | | | | | | | | | The rest of the manpage already referenced 'dstsize' but did not rename the variable in the prototype in r257646. MFC after: 3 days Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=296128
* Fix .Dd after r257646.Glen Barber2013-11-051-1/+1
| | | | | | | | DST affects the day by one hour, but the number of days in the week stay the same. Notes: svn path=/head/; revision=257720
* Use OpenBSD's revamped description of strlcpy and strlcat.Eitan Adler2013-11-041-68/+63
| | | | | | | | | | | | | | This explanation is supposed to be simpler and better. In particular "comparing it to the snprintf API provides lots of value, since it raises the bar on understanding, so that programmers/auditors will a better job calling all 3 of these functions." Requested by: deraadt@cvs.openbsd.org Obtained From: OpenBSD Reviewed by: cperciva Notes: svn path=/head/; revision=257646
* General mdoc(7) and typo fixes.Glen Barber2012-05-111-1/+1
| | | | | | | | | PR: 167734 Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org) MFC after: 3 days Notes: svn path=/head/; revision=235286
* Add wide character variants of string manipulations routines to 'SEE ALSO'.Edward Tomasz Napierala2009-04-071-1/+2
| | | | | | | Approved by: rwatson (mentor) Notes: svn path=/head/; revision=190798
* Add restrict qualifiers to the parameters to strlcpy() and strlcat().David Schultz2009-02-281-2/+2
| | | | | | | | The annotation mainly just serves as a hint that they're not intended for use with overlapping strings. Notes: svn path=/head/; revision=189133
* o Language improvements from OpenBSD;Xin LI2009-01-121-17/+17
| | | | | | | | | o Use an ISC-style license as did by the author. Obtained from: OpenBSD Notes: svn path=/head/; revision=187091
* Mechanically kill hard sentence breaks.Ruslan Ermilov2004-07-021-2/+4
| | | | Notes: svn path=/head/; revision=131504
* mdoc(7) police: "The .Fn function".Ruslan Ermilov2002-12-181-0/+1
| | | | Notes: svn path=/head/; revision=108037
* mdoc(7) police: Use the new .In macro for #include statements.Ruslan Ermilov2001-10-011-1/+1
| | | | Notes: svn path=/head/; revision=84306
* Sync to OpenBSD:Kris Kennaway2001-07-241-2/+23
| | | | | | | | | | | | | | | Clarify that if strlcat() does not find a NUL within siz byte it will not NUL terminate either. Document boundary condition when size < strlen(dst). "of", not "on" (from Henric Jungheim) Obtained from: OpenBSD MFC After: 1 week Notes: svn path=/head/; revision=80273
* Remove whitespace at EOL.Dima Dorfman2001-07-151-1/+1
| | | | Notes: svn path=/head/; revision=79754
* Clarify comments referring to strlcat() usageChris D. Faulhaber2001-01-171-1/+22
| | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=71192
* Prepare for mdoc(7)NG.Ruslan Ermilov2000-12-291-3/+3
| | | | Notes: svn path=/head/; revision=70481
* MAXPATHNAMELEN -> MAXPATHLENKris Kennaway2000-11-191-1/+1
| | | | | | | | Submitted by: ianm@kashmir.cit.nepean.uws.edu.au via OpenBSD Obtained from: OpenBSD Notes: svn path=/head/; revision=68896
* Introduce ".Lb" macro to libc manpages.Alexey Zelkin2000-04-211-0/+2
| | | | | | | More libraries manpages updates following. Notes: svn path=/head/; revision=59460
* Add HISTORY.David E. O'Brien1999-10-291-0/+8
| | | | Notes: svn path=/head/; revision=52629
* Add $FreeBSD$ lines to man pages that are missing them to makeMike Pritchard1999-08-281-0/+2
| | | | | | | | | | it easier for translation teams. PR: docs/13418 Submitted by: Alexey Zelkin <phantom@cris.net> Notes: svn path=/head/; revision=50532
* Use the latest version of these files from OpenBSD.Warner Losh1999-08-101-4/+4
| | | | | | | | | | | | | 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/+147
Obtained from: OpenBSD Notes: svn path=/head/; revision=49593