Add prototypes for strlcpy/strlcat

This commit is contained in:
Julien Cristau 2008-10-26 11:37:11 +01:00
commit 5244690a5e
4 changed files with 10 additions and 0 deletions

View file

@ -456,6 +456,11 @@ extern int xstrncasecmp(const char *s1, const char *s2, size_t n);
extern char *xstrcasestr(const char *s, const char *find);
#endif
#ifndef HAS_STRLCPY
extern size_t strlcpy(char *dst, const char *src, size_t siz);
extern size_t strlcat(char *dst, const char *src, size_t siz);
#endif
/* Logging. */
typedef enum _LogParameter {
XLOG_FLUSH,