From 41155d57bc6d03e87fac6146616eb09f0cbe4a14 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Mon, 18 Dec 2000 04:08:58 +0000 Subject: [PATCH] add strlcpy and strlcat to kernel --- sys/conf/files | 2 ++ sys/sys/libkern.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/sys/conf/files b/sys/conf/files index 35d7e287db4b..059ecba4e9c8 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -723,6 +723,8 @@ libkern/skpc.c standard libkern/strcat.c standard libkern/strcmp.c standard libkern/strcpy.c standard +libkern/strlcat.c standard +libkern/strlcpy.c standard libkern/strlen.c standard libkern/strncmp.c standard libkern/strncpy.c standard diff --git a/sys/sys/libkern.h b/sys/sys/libkern.h index c9a3bf34b5dd..ca25baa63d4b 100644 --- a/sys/sys/libkern.h +++ b/sys/sys/libkern.h @@ -84,6 +84,8 @@ void srandom __P((u_long)); char *strcat __P((char *, const char *)); int strcmp __P((const char *, const char *)); char *strcpy __P((char *, const char *)); +size_t strlcat __P((char *, const char *, size_t)); +size_t strlcpy __P((char *, const char *, size_t)); size_t strlen __P((const char *)); int strncmp __P((const char *, const char *, size_t)); char *strncpy __P((char *, const char *, size_t));