2003-05-18 14:13:38 +00:00
|
|
|
/* $Id: bsd-snprintf.h,v 1.3 2003/05/18 14:13:39 djm Exp $ */
|
2001-02-09 01:55:35 +00:00
|
|
|
|
1999-11-26 01:21:24 +00:00
|
|
|
#ifndef _BSD_SNPRINTF_H
|
|
|
|
#define _BSD_SNPRINTF_H
|
|
|
|
|
|
|
|
#include "config.h"
|
|
|
|
|
|
|
|
#include <sys/types.h> /* For size_t */
|
|
|
|
|
|
|
|
#ifndef HAVE_SNPRINTF
|
2003-05-18 14:13:38 +00:00
|
|
|
int snprintf(char *, size_t, const char *, ...);
|
1999-11-26 01:21:24 +00:00
|
|
|
#endif /* !HAVE_SNPRINTF */
|
|
|
|
|
|
|
|
#ifndef HAVE_VSNPRINTF
|
2003-05-18 14:13:38 +00:00
|
|
|
int vsnprintf(char *, size_t, const char *, va_list);
|
1999-11-26 01:21:24 +00:00
|
|
|
#endif /* !HAVE_SNPRINTF */
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* _BSD_SNPRINTF_H */
|