]>
Commit | Line | Data |
---|---|---|
0b202697 | 1 | /* $Id$ */ |
2 | ||
dad3b556 | 3 | #ifndef _BSD_SNPRINTF_H |
4 | #define _BSD_SNPRINTF_H | |
5 | ||
6 | #include "config.h" | |
7 | ||
8 | #include <sys/types.h> /* For size_t */ | |
9 | ||
10 | #ifndef HAVE_SNPRINTF | |
2cb4f12d | 11 | int snprintf(char *str, size_t count, const char *fmt, ...); |
dad3b556 | 12 | #endif /* !HAVE_SNPRINTF */ |
13 | ||
14 | #ifndef HAVE_VSNPRINTF | |
2d9a148e | 15 | int vsnprintf(char *str, size_t count, const char *fmt, va_list args); |
dad3b556 | 16 | #endif /* !HAVE_SNPRINTF */ |
17 | ||
18 | ||
19 | #endif /* _BSD_SNPRINTF_H */ |