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
|
2000-07-11 02:50:08 +00:00
|
|
|
int snprintf(char *str, size_t count, const char *fmt, ...);
|
1999-11-26 01:21:24 +00:00
|
|
|
#endif /* !HAVE_SNPRINTF */
|
|
|
|
|
|
|
|
#ifndef HAVE_VSNPRINTF
|
2000-07-11 02:23:01 +00:00
|
|
|
int vsnprintf(char *str, size_t count, const char *fmt, va_list args);
|
1999-11-26 01:21:24 +00:00
|
|
|
#endif /* !HAVE_SNPRINTF */
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* _BSD_SNPRINTF_H */
|