projects
/
platform
/
upstream
/
libevent.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported Upstream version 2.0.20
[platform/upstream/libevent.git]
/
strlcpy-internal.h
1
#ifndef _STRLCPY_INTERNAL_H_
2
#define _STRLCPY_INTERNAL_H_
3
4
#ifdef __cplusplus
5
extern "C" {
6
#endif
7
8
#include "event2/event-config.h"
9
10
#ifndef _EVENT_HAVE_STRLCPY
11
#include <string.h>
12
size_t _event_strlcpy(char *dst, const char *src, size_t siz);
13
#define strlcpy _event_strlcpy
14
#endif
15
16
#ifdef __cplusplus
17
}
18
#endif
19
20
#endif
21