blob: 002b764e3422a71bc74e72c6829aa3322a1d4d2f [file] [log] [blame]
Damien Millere9cf3572001-02-09 12:55:35 +11001/* $Id: bsd-snprintf.h,v 1.2 2001/02/09 01:55:36 djm Exp $ */
2
Damien Miller42b81ff1999-11-26 12:21:24 +11003#ifndef _BSD_SNPRINTF_H
4#define _BSD_SNPRINTF_H
5
6#include "config.h"
7
8#include <sys/types.h> /* For size_t */
9
10#ifndef HAVE_SNPRINTF
Damien Miller5c8b2502000-07-11 12:50:08 +100011int snprintf(char *str, size_t count, const char *fmt, ...);
Damien Miller42b81ff1999-11-26 12:21:24 +110012#endif /* !HAVE_SNPRINTF */
13
14#ifndef HAVE_VSNPRINTF
Damien Miller168e6ac2000-07-11 12:23:01 +100015int vsnprintf(char *str, size_t count, const char *fmt, va_list args);
Damien Miller42b81ff1999-11-26 12:21:24 +110016#endif /* !HAVE_SNPRINTF */
17
18
19#endif /* _BSD_SNPRINTF_H */