1999-11-26 02:21:24 +01:00
|
|
|
#ifndef _BSD_SNPRINTF_H
|
|
|
|
#define _BSD_SNPRINTF_H
|
|
|
|
|
|
|
|
#include "config.h"
|
|
|
|
|
|
|
|
#include <sys/types.h> /* For size_t */
|
|
|
|
|
|
|
|
#ifndef HAVE_SNPRINTF
|
|
|
|
int snprintf(char *str, size_t n, char const *fmt, ...);
|
|
|
|
#endif /* !HAVE_SNPRINTF */
|
|
|
|
|
|
|
|
#ifndef HAVE_VSNPRINTF
|
2000-06-28 07:22:41 +02:00
|
|
|
int vsnprintf(char *str, size_t n, char *fmt, va_list ap);
|
1999-11-26 02:21:24 +01:00
|
|
|
#endif /* !HAVE_SNPRINTF */
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* _BSD_SNPRINTF_H */
|