Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/include prototypes for strlcat() and strlcpy()



details:   https://anonhg.NetBSD.org/src/rev/6d0bdea9d97a
branches:  trunk
changeset: 476179:6d0bdea9d97a
user:      lukem <lukem%NetBSD.org@localhost>
date:      Wed Sep 08 22:09:36 1999 +0000

description:
prototypes for strlcat() and strlcpy()

diffstat:

 include/string.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r a14be3a98e01 -r 6d0bdea9d97a include/string.h
--- a/include/string.h  Wed Sep 08 22:01:13 1999 +0000
+++ b/include/string.h  Wed Sep 08 22:09:36 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: string.h,v 1.18 1998/07/27 09:09:26 mycroft Exp $      */
+/*     $NetBSD: string.h,v 1.19 1999/09/08 22:09:36 lukem Exp $        */
 
 /*-
  * Copyright (c) 1990, 1993
@@ -64,6 +64,8 @@
 char   *strcpy __P((char *, const char *));
 size_t  strcspn __P((const char *, const char *));
 __aconst char *strerror __P((int));
+size_t  strlcat __P((char *, const char *, size_t));
+size_t  strlcpy __P((char *, const char *, size_t));
 size_t  strlen __P((const char *));
 char   *strncat __P((char *, const char *, size_t));
 int     strncmp __P((const char *, const char *, size_t));



Home | Main Index | Thread Index | Old Index