317 #ifndef _SMALL_PRINTF
321 #define _vfprintf_r _vfiprintf_r
326 #ifndef _SMALL_PRINTF
329 _DEFUN (_sprintf_r, (ptr, str, fmt),
struct _reent *ptr _AND
char *str _AND _CONST
char *fmt _DOTS)
331 _sprintf_r (ptr, str, fmt, va_alist)
342 f._flags = __SWR | __SSTR;
343 f._bf._base = f._p = (
unsigned char *) str;
344 f._bf._size = f._w = INT_MAX;
351 ret = _vfprintf_r (ptr, &f, fmt, ap);
361 _DEFUN (sprintf, (str, fmt),
char *str _AND _CONST
char *fmt _DOTS)
363 sprintf (str, fmt, va_alist)
373 f._flags = __SWR | __SSTR;
374 f._bf._base = f._p = (
unsigned char *) str;
375 f._bf._size = f._w = INT_MAX;
382 ret = _vfprintf_r (_REENT, &f, fmt, ap);