History log of /freebsd-11.0-release/lib/libc/string/strlcpy.3
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 303975 11-Aug-2016 gjb

Copy stable/11@r303970 to releng/11.0 as part of the 11.0-RELEASE
cycle.

Prune svn:mergeinfo from the new branch, and rename it to RC1.

Update __FreeBSD_version.

Use the quarterly branch for the default FreeBSD.conf pkg(8) repo and
the dvd1.iso packages population.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 302408 08-Jul-2016 gjb

Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle.
Prune svn:mergeinfo from the new branch, as nothing has been merged
here.

Additional commits post-branch will follow.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 296128 26-Feb-2016 bdrewery

Make it clear that the "size" argument is for the dst string.

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


# 257720 05-Nov-2013 gjb

Fix .Dd after r257646.
DST affects the day by one hour, but the number of days in the
week stay the same.


# 257646 04-Nov-2013 eadler

Use OpenBSD's revamped description of strlcpy and strlcat.

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


# 235286 11-May-2012 gjb

General mdoc(7) and typo fixes.

PR: 167734
Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org)
MFC after: 3 days


# 190798 07-Apr-2009 trasz

Add wide character variants of string manipulations routines to 'SEE ALSO'.

Approved by: rwatson (mentor)


# 189133 28-Feb-2009 das

Add restrict qualifiers to the parameters to strlcpy() and strlcat().
The annotation mainly just serves as a hint that they're not intended
for use with overlapping strings.


# 187091 12-Jan-2009 delphij

o Language improvements from OpenBSD;
o Use an ISC-style license as did by the author.

Obtained from: OpenBSD


# 131504 02-Jul-2004 ru

Mechanically kill hard sentence breaks.


# 108037 18-Dec-2002 ru

mdoc(7) police: "The .Fn function".


# 84306 01-Oct-2001 ru

mdoc(7) police: Use the new .In macro for #include statements.


# 80273 24-Jul-2001 kris

Sync to OpenBSD:

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


# 79754 15-Jul-2001 dd

Remove whitespace at EOL.


# 71192 17-Jan-2001 jedgar

Clarify comments referring to strlcat() usage

Obtained from: OpenBSD


# 70481 29-Dec-2000 ru

Prepare for mdoc(7)NG.


# 68896 19-Nov-2000 kris

MAXPATHNAMELEN -> MAXPATHLEN

Submitted by: ianm@kashmir.cit.nepean.uws.edu.au via OpenBSD
Obtained from: OpenBSD


# 59460 21-Apr-2000 phantom

Introduce ".Lb" macro to libc manpages.

More libraries manpages updates following.


# 52629 29-Oct-1999 obrien

Add HISTORY.


# 50532 28-Aug-1999 mpp

Add $FreeBSD$ lines to man pages that are missing them to make
it easier for translation teams.

PR: docs/13418
Submitted by: Alexey Zelkin <phantom@cris.net>


# 49594 10-Aug-1999 imp

Use the latest version of these files from OpenBSD.

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


# 49593 10-Aug-1999 imp

Import strl{cat,cpy} from OpenBSD.

Obtained from: OpenBSD