blob: 95e4d136c8fcc6d4eec1a19575754ec0c91ba78f [file] [log] [blame]
Damien Miller31741252003-05-19 00:13:38 +10001/* $Id: bsd-snprintf.h,v 1.3 2003/05/18 14:13:39 djm Exp $ */
Damien Millere9cf3572001-02-09 12:55:35 +11002
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 Miller31741252003-05-19 00:13:38 +100011int snprintf(char *, size_t, const char *, ...);
Damien Miller42b81ff1999-11-26 12:21:24 +110012#endif /* !HAVE_SNPRINTF */
13
14#ifndef HAVE_VSNPRINTF
Damien Miller31741252003-05-19 00:13:38 +100015int vsnprintf(char *, size_t, const char *, va_list);
Damien Miller42b81ff1999-11-26 12:21:24 +110016#endif /* !HAVE_SNPRINTF */
17
18
19#endif /* _BSD_SNPRINTF_H */