7 #ifdef HAVE_SYS_CDEFS_H
25 snprintf(char *str
, size_t n
, const char *fmt
, ...)
27 snprintf(str
, n
, fmt
, va_alist
)
35 #ifdef VSPRINTF_CHARSTAR
45 #ifdef VSPRINTF_CHARSTAR
46 rp
= vsprintf(str
, fmt
, ap
);
50 rval
= vsprintf(str
, fmt
, ap
);
57 vsnprintf(str
, n
, fmt
, ap
)
63 #ifdef VSPRINTF_CHARSTAR
64 return (strlen(vsprintf(str
, fmt
, ap
)));
66 return (vsprintf(str
, fmt
, ap
));
70 #endif /* HAVE_SNPRINTF */
72 /* Some compilers don't like an empty source file. */