/* | |
* $Id: str.h,v 1.2 2005/04/02 16:01:05 ajs Exp $ | |
*/ | |
#ifndef _ZEBRA_STR_H | |
#define _ZEBRA_STR_H | |
#ifndef HAVE_SNPRINTF | |
int snprintf(char *, size_t, const char *, ...); | |
#endif | |
#ifndef HAVE_VSNPRINTF | |
#define vsnprintf(buf, size, format, args) vsprintf(buf, format, args) | |
#endif | |
#ifndef HAVE_STRLCPY | |
size_t strlcpy(char *, const char *, size_t); | |
#endif | |
#ifndef HAVE_STRLCAT | |
size_t strlcat(char *, const char *, size_t); | |
#endif | |
#ifndef HAVE_STRNLEN | |
extern size_t strnlen(const char *s, size_t maxlen); | |
#endif | |
#endif |