summaryrefslogtreecommitdiff
path: root/bsd-snprintf.h
blob: d4f83aac937a33448dacde2df8439aee2bff55bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#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
int vsnprintf(char *str, size_t n, char *fmt, char *ap);
#endif /* !HAVE_SNPRINTF */


#endif /* _BSD_SNPRINTF_H */