strlcpy-internal.h 348 B

1234567891011121314151617181920212223
  1. #ifndef _STRLCPY_INTERNAL_H_
  2. #define _STRLCPY_INTERNAL_H_
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. #ifdef HAVE_CONFIG_H
  7. #include "config.h"
  8. #endif /* HAVE_CONFIG_H */
  9. #ifndef HAVE_STRLCPY
  10. #include <string.h>
  11. size_t _event_strlcpy(char *dst, const char *src, size_t siz);
  12. #define strlcpy _event_strlcpy
  13. #endif
  14. #ifdef __cplusplus
  15. }
  16. #endif
  17. #endif