Source-Changes-HG archive

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

[src/trunk]: src/include strlcat() and strlcpy() aren't ISO/IEC 9899:1990.



details:   https://anonhg.NetBSD.org/src/rev/02e182a513e4
branches:  trunk
changeset: 476191:02e182a513e4
user:      kleink <kleink%NetBSD.org@localhost>
date:      Thu Sep 09 09:30:40 1999 +0000

description:
strlcat() and strlcpy() aren't ISO/IEC 9899:1990.

diffstat:

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

diffs (27 lines):

diff -r d41481a6bb55 -r 02e182a513e4 include/string.h
--- a/include/string.h  Thu Sep 09 07:35:15 1999 +0000
+++ b/include/string.h  Thu Sep 09 09:30:40 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: string.h,v 1.19 1999/09/08 22:09:36 lukem Exp $        */
+/*     $NetBSD: string.h,v 1.20 1999/09/09 09:30:40 kleink Exp $       */
 
 /*-
  * Copyright (c) 1990, 1993
@@ -64,8 +64,6 @@
 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));
@@ -91,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