blob: ed7a21c974052d4a9b969c474e72900b28edce30 [file] [log] [blame]
Damien Miller42b81ff1999-11-26 12:21:24 +11001#ifndef _BSD_SNPRINTF_H
2#define _BSD_SNPRINTF_H
3
4#include "config.h"
5
6#include <sys/types.h> /* For size_t */
7
8#ifndef HAVE_SNPRINTF
Damien Miller5c8b2502000-07-11 12:50:08 +10009int snprintf(char *str, size_t count, const char *fmt, ...);
Damien Miller42b81ff1999-11-26 12:21:24 +110010#endif /* !HAVE_SNPRINTF */
11
12#ifndef HAVE_VSNPRINTF
Damien Miller168e6ac2000-07-11 12:23:01 +100013int vsnprintf(char *str, size_t count, const char *fmt, va_list args);
Damien Miller42b81ff1999-11-26 12:21:24 +110014#endif /* !HAVE_SNPRINTF */
15
16
17#endif /* _BSD_SNPRINTF_H */