summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2014-02-23 23:09:34 +0000
committerschwarze <schwarze@openbsd.org>2014-02-23 23:09:34 +0000
commitd7ad707662bb2b289b55796f2d6201926bcc4a04 (patch)
tree980680eb68e3d1293d7303cad3d78ff0930b05bb /lib/libc
parent- add a -p <path> switch for specifying the location of (diff)
downloadwireguard-openbsd-d7ad707662bb2b289b55796f2d6201926bcc4a04.tar.xz
wireguard-openbsd-d7ad707662bb2b289b55796f2d6201926bcc4a04.zip
in HISTORY, say where this actually came from;
ok deraadt@ bentley@
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/string/stpcpy.312
1 files changed, 7 insertions, 5 deletions
diff --git a/lib/libc/string/stpcpy.3 b/lib/libc/string/stpcpy.3
index cb74942afaf..973eebecdde 100644
--- a/lib/libc/string/stpcpy.3
+++ b/lib/libc/string/stpcpy.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: stpcpy.3,v 1.5 2013/09/25 21:50:18 millert Exp $
+.\" $OpenBSD: stpcpy.3,v 1.6 2014/02/23 23:09:34 schwarze Exp $
.\"
.\" Copyright (c) 1990, 1991 The Regents of the University of California.
.\" All rights reserved.
@@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: September 25 2013 $
+.Dd $Mdocdate: February 23 2014 $
.Dt STPCPY 3
.Os
.Sh NAME
@@ -174,9 +174,11 @@ and
functions conform to
.St -p1003.1-2008 .
.Sh HISTORY
-The
+The function
.Fn stpcpy
-and
+first appeared in the Lattice C AmigaDOS compiler (1986 or earlier).
+The function
.Fn stpncpy
-functions first appeared in
+first appeared in the GNU C library version 1.07 (1993).
+Both functions have been available since
.Ox 5.1 .