00001
00002
00003
00004
00005
00006
00007
00008
00009 #ifndef ROOT_strlcpy
00010 #define ROOT_strlcpy
00011
00012 #ifndef ROOT_RConfig
00013 #include "RConfig.h"
00014 #endif
00015
00016 #if !defined(__CINT__)
00017
00018 #ifndef HAS_STRLCPY
00019
00020 #ifndef WIN32
00021 # include <unistd.h>
00022 #elif !defined(__CINT__)
00023 # include <sys/types.h>
00024 #endif
00025
00026 #ifdef __cplusplus
00027 extern "C" {
00028 #endif
00029
00030 size_t strlcpy(char *dst, const char *src, size_t siz);
00031 size_t strlcat(char *dst, const char *src, size_t siz);
00032
00033 #ifdef __cplusplus
00034 }
00035 #endif
00036
00037 #endif
00038
00039 #else
00040
00041 size_t strlcpy(char *dst, const char *src, size_t siz);
00042 size_t strlcat(char *dst, const char *src, size_t siz);
00043
00044 #endif
00045
00046 #endif