xref: /titanic_50/usr/src/cmd/ssh/include/bsd-snprintf.h (revision bde3d612a7c090234c60e6e4578821237a5db135)
1 /* $Id: bsd-snprintf.h,v 1.2 2001/02/09 01:55:36 djm Exp $ */
2 
3 #ifndef	_BSD_SNPRINTF_H
4 #define	_BSD_SNPRINTF_H
5 
6 #pragma ident	"%Z%%M%	%I%	%E% SMI"
7 
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11 
12 #include "config.h"
13 
14 #include <sys/types.h> /* For size_t */
15 
16 #ifndef HAVE_SNPRINTF
17 int snprintf(char *str, size_t count, const char *fmt, ...);
18 #endif /* !HAVE_SNPRINTF */
19 
20 #ifndef HAVE_VSNPRINTF
21 int vsnprintf(char *str, size_t count, const char *fmt, va_list args);
22 #endif /* !HAVE_SNPRINTF */
23 
24 #ifdef __cplusplus
25 }
26 #endif
27 
28 #endif /* _BSD_SNPRINTF_H */
29