File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / quagga / lib / str.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 17:26:12 2012 UTC (12 years, 8 months ago) by misho
Branches: quagga, MAIN
CVS tags: v1_0_20160315, v0_99_22p0, v0_99_22, v0_99_21, v0_99_20_1, v0_99_20, HEAD
quagga

    1: /*
    2:  * $Id: str.h,v 1.1.1.1 2012/02/21 17:26:12 misho Exp $
    3:  */
    4: 
    5: #ifndef _ZEBRA_STR_H
    6: #define _ZEBRA_STR_H
    7: 
    8: #ifndef HAVE_SNPRINTF
    9: extern int snprintf(char *, size_t, const char *, ...);
   10: #endif
   11: 
   12: #ifndef HAVE_VSNPRINTF
   13: #define vsnprintf(buf, size, format, args) vsprintf(buf, format, args)
   14: #endif
   15: 
   16: #ifndef HAVE_STRLCPY
   17: extern size_t strlcpy(char *, const char *, size_t);
   18: #endif
   19: 
   20: #ifndef HAVE_STRLCAT
   21: extern size_t strlcat(char *, const char *, size_t);
   22: #endif
   23: 
   24: #ifndef HAVE_STRNLEN
   25: extern size_t strnlen(const char *s, size_t maxlen);
   26: #endif
   27: 
   28: #ifndef HAVE_STRNDUP
   29: extern char * strndup (const char *, size_t);
   30: #endif
   31: 
   32: #endif /* _ZEBRA_STR_H */
   33: 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>