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