From 9f1bd74b09810565502451047b06b6eca7e47f7f Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 25 Mar 2005 19:25:41 +0000 Subject: Added implementation of strlcpy and strlcat for systems that dont have it git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@905 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/inspstring.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 include/inspstring.h (limited to 'include/inspstring.h') diff --git a/include/inspstring.h b/include/inspstring.h new file mode 100644 index 000000000..f13f098dd --- /dev/null +++ b/include/inspstring.h @@ -0,0 +1,11 @@ +#ifndef __IN_INSPSTRING_H +#define __IN_INSPSTRING_H + +#include "inspircd_config.h" + +#ifndef HAVE_STRLCPY +size_t strlcpy(char *dst, const char *src, size_t siz); +size_t strlcat(char *dst, const char *src, size_t siz); +#endif + +#endif -- cgit v1.2.3