File: strlcpy-internal.h

package info (click to toggle)
libevent 1.4.13-stable-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 2,496 kB
  • ctags: 1,920
  • sloc: ansic: 15,654; sh: 8,649; python: 1,101; makefile: 163
file content (23 lines) | stat: -rw-r--r-- 348 bytes parent folder | download | duplicates (24)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef _STRLCPY_INTERNAL_H_
#define _STRLCPY_INTERNAL_H_

#ifdef __cplusplus
extern "C" {
#endif

#ifdef HAVE_CONFIG_H
#include "config.h"
#endif /* HAVE_CONFIG_H */

#ifndef HAVE_STRLCPY
#include <string.h>
size_t _event_strlcpy(char *dst, const char *src, size_t siz);
#define strlcpy _event_strlcpy
#endif

#ifdef __cplusplus
}
#endif

#endif