2001-02-09 02:55:35 +01:00
|
|
|
/* $Id: bsd-snprintf.h,v 1.2 2001/02/09 01:55:36 djm Exp $ */
|
|
|
|
|
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
|
2000-07-11 04:50:08 +02:00
|
|
|
int snprintf(char *str, size_t count, const char *fmt, ...);
|
1999-11-26 02:21:24 +01:00
|
|
|
#endif /* !HAVE_SNPRINTF */
|
|
|
|
|
|
|
|
#ifndef HAVE_VSNPRINTF
|
2000-07-11 04:23:01 +02:00
|
|
|
int vsnprintf(char *str, size_t count, const char *fmt, va_list args);
|
1999-11-26 02:21:24 +01:00
|
|
|
#endif /* !HAVE_SNPRINTF */
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* _BSD_SNPRINTF_H */
|