318 #ifndef _SMALL_PRINTF
322 #define _vfprintf_r _vfiprintf_r
330 #ifndef _SMALL_PRINTF
333 _DEFUN (_sprintf_r, (ptr, str, fmt),
struct _reent *ptr _AND
char *str _AND _CONST
char *fmt _DOTS)
335 _sprintf_r (ptr, str, fmt, va_alist)
346 f._flags = __SWR | __SSTR;
347 f._bf._base = f._p = (
unsigned char *) str;
348 f._bf._size = f._w = INT_MAX;
355 ret = _vfprintf_r (ptr, &f, fmt, ap);
365 _DEFUN (sprintf, (str, fmt),
char *str _AND _CONST
char *fmt _DOTS)
367 sprintf (str, fmt, va_alist)
377 f._flags = __SWR | __SSTR;
378 f._bf._base = f._p = (
unsigned char *) str;
379 f._bf._size = f._w = INT_MAX;
386 ret = _vfprintf_r (_REENT, &f, fmt, ap);