repo.or.cz
/
chromium-blink-merge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Re-subimission of https://codereview.chromium.org/1041213003/
[chromium-blink-merge.git]
/
third_party
/
libevent
/
strlcpy-internal.h
blob
22b5f61d45ed9215c4912adac3ddfb5a5176269a
1
#ifndef _STRLCPY_INTERNAL_H_
2
#define _STRLCPY_INTERNAL_H_
3
4
#ifdef __cplusplus
5
extern
"C"
{
6
#endif
7
8
#ifdef HAVE_CONFIG_H
9
#include
"config.h"
10
#endif
/* HAVE_CONFIG_H */
11
12
#ifndef 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