diff options
author | paul <paul> | 2002-12-13 20:15:29 +0000 |
---|---|---|
committer | paul <paul> | 2002-12-13 20:15:29 +0000 |
commit | 85f97d27207a5a29357da0c8a6abe8e48bf8ea2c (patch) | |
tree | d20e362762c4963f1150b224356643bd49df7dfb /lib/str.h | |
download | quagga-85f97d27207a5a29357da0c8a6abe8e48bf8ea2c.tar.bz2 quagga-85f97d27207a5a29357da0c8a6abe8e48bf8ea2c.tar.xz |
Initial revision
Diffstat (limited to 'lib/str.h')
-rw-r--r-- | lib/str.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/lib/str.h b/lib/str.h new file mode 100644 index 00000000..f06d7543 --- /dev/null +++ b/lib/str.h @@ -0,0 +1,24 @@ +/* + * $Id$ + */ + +#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 + +#endif |