diff options
Diffstat (limited to 'other/openssh-2.1.1p4/bsd-snprintf.h')
| -rw-r--r-- | other/openssh-2.1.1p4/bsd-snprintf.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/other/openssh-2.1.1p4/bsd-snprintf.h b/other/openssh-2.1.1p4/bsd-snprintf.h new file mode 100644 index 0000000..ed7a21c --- /dev/null +++ b/other/openssh-2.1.1p4/bsd-snprintf.h | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | #ifndef _BSD_SNPRINTF_H | ||
| 2 | #define _BSD_SNPRINTF_H | ||
| 3 | |||
| 4 | #include "config.h" | ||
| 5 | |||
| 6 | #include <sys/types.h> /* For size_t */ | ||
| 7 | |||
| 8 | #ifndef HAVE_SNPRINTF | ||
| 9 | int snprintf(char *str, size_t count, const char *fmt, ...); | ||
| 10 | #endif /* !HAVE_SNPRINTF */ | ||
| 11 | |||
| 12 | #ifndef HAVE_VSNPRINTF | ||
| 13 | int vsnprintf(char *str, size_t count, const char *fmt, va_list args); | ||
| 14 | #endif /* !HAVE_SNPRINTF */ | ||
| 15 | |||
| 16 | |||
| 17 | #endif /* _BSD_SNPRINTF_H */ | ||
