Source-Changes-HG archive

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

[src/netbsd-1-4]: src/include Pull up revisions 1.19-1.20 (requested by he):



details:   https://anonhg.NetBSD.org/src/rev/13a4f3c66484
branches:  netbsd-1-4
changeset: 470736:13a4f3c66484
user:      he <he%NetBSD.org@localhost>
date:      Wed Jul 05 21:04:39 2000 +0000

description:
Pull up revisions 1.19-1.20 (requested by he):
  Add declarations for strlcat() and strlcpy().

diffstat:

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

diffs (18 lines):

diff -r 5b98f8f555c4 -r 13a4f3c66484 include/string.h
--- a/include/string.h  Wed Jul 05 21:03:51 2000 +0000
+++ b/include/string.h  Wed Jul 05 21:04:39 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: string.h,v 1.18 1998/07/27 09:09:26 mycroft Exp $      */
+/*     $NetBSD: string.h,v 1.18.2.1 2000/07/05 21:04:39 he Exp $       */
 
 /*-
  * Copyright (c) 1990, 1993
@@ -89,6 +89,8 @@
 #if !defined(_ANSI_SOURCE) && !defined(_POSIX_C_SOURCE) && \
     !defined(_XOPEN_SOURCE)
 #include <strings.h>           /* for backwards-compatibilty */
+size_t  strlcat __P((char *, const char *, size_t));
+size_t  strlcpy __P((char *, const char *, size_t));
 char   *strsep __P((char **, const char *));
 #endif /* !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE) && ... */
 __END_DECLS



Home | Main Index | Thread Index | Old Index