xref: /netbsd-src/external/bsd/libevent/dist/strlcpy-internal.h (revision c38e7cc395b1472a774ff828e46123de44c628e9)
1 /*	$NetBSD: strlcpy-internal.h,v 1.1.1.3 2017/01/31 21:14:52 christos Exp $	*/
2 #ifndef STRLCPY_INTERNAL_H_INCLUDED_
3 #define STRLCPY_INTERNAL_H_INCLUDED_
4 
5 #ifdef __cplusplus
6 extern "C" {
7 #endif
8 
9 #include "event2/event-config.h"
10 #include "evconfig-private.h"
11 
12 #ifndef EVENT__HAVE_STRLCPY
13 #include <string.h>
14 size_t event_strlcpy_(char *dst, const char *src, size_t siz);
15 #define strlcpy event_strlcpy_
16 #endif
17 
18 #ifdef __cplusplus
19 }
20 #endif
21 
22 #endif
23 
24