1 /* $NetBSD: strlcpy-internal.h,v 1.1.1.1 2009/11/02 10:01:02 plunky Exp $ */ 2 #ifndef _STRLCPY_INTERNAL_H_ 3 #define _STRLCPY_INTERNAL_H_ 4 5 #ifdef __cplusplus 6 extern "C" { 7 #endif 8 9 #ifdef HAVE_CONFIG_H 10 #include "config.h" 11 #endif /* HAVE_CONFIG_H */ 12 13 #ifndef HAVE_STRLCPY 14 #include <string.h> 15 size_t _event_strlcpy(char *dst, const char *src, size_t siz); 16 #define strlcpy _event_strlcpy 17 #endif 18 19 #ifdef __cplusplus 20 } 21 #endif 22 23 #endif 24 25