Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/ssp fix doc for strcpy, strcat
details: https://anonhg.NetBSD.org/src/rev/dc8fedbe494b
branches: trunk
changeset: 791134:dc8fedbe494b
user: christos <christos%NetBSD.org@localhost>
date: Wed Nov 06 16:30:55 2013 +0000
description:
fix doc for strcpy, strcat
add stp{,n}cpy
diffstat:
lib/libc/ssp/ssp.3 | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
diffs (34 lines):
diff -r f28fd26344fe -r dc8fedbe494b lib/libc/ssp/ssp.3
--- a/lib/libc/ssp/ssp.3 Wed Nov 06 16:30:27 2013 +0000
+++ b/lib/libc/ssp/ssp.3 Wed Nov 06 16:30:55 2013 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: ssp.3,v 1.6 2011/03/21 04:42:50 jruoho Exp $
+.\" $NetBSD: ssp.3,v 1.7 2013/11/06 16:30:55 christos Exp $
.\"
.\" Copyright (c) 2007 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -28,7 +28,7 @@
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
.\"
-.Dd March 21, 2011
+.Dd November 6, 2013
.Dt SSP 3
.Os
.Sh NAME
@@ -58,9 +58,13 @@
.Ft void *
.Fn memset "void *str" "int val" "size_t len"
.Ft char *
-.Fn strcpy "char *str" "const char *ptr" "size_t len"
+.Fn stpcpy "char *str" "const char *ptr"
+.Ft char *
+.Fn stpncpy "char *str" "const char *ptr" "size_t len"
.Ft char *
-.Fn strcat "char *str" "const char *ptr" "size_t len"
+.Fn strcpy "char *str" "const char *ptr"
+.Ft char *
+.Fn strcat "char *str" "const char *ptr"
.Ft char *
.Fn strncpy "char *str" "const char *ptr" "size_t len"
.Ft char *
Home |
Main Index |
Thread Index |
Old Index