mirror of
https://github.com/Stichting-MINIX-Research-Foundation/netbsd.git
synced 2025-08-08 21:49:06 -04:00
25 lines
442 B
C
25 lines
442 B
C
/* $NetBSD: strlcpy-internal.h,v 1.3 2015/07/10 14:20:34 christos Exp $ */
|
|
|
|
#ifndef STRLCPY_INTERNAL_H_INCLUDED_
|
|
#define STRLCPY_INTERNAL_H_INCLUDED_
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include "event2/event-config.h"
|
|
#include "evconfig-private.h"
|
|
|
|
#ifndef EVENT__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
|
|
|