2 * sprintf - print formatted output on an array
4 /* $Id: sprintf.c,v 1.3 1994/06/24 11:51:39 ceriel Exp $ */
11 sprintf(char * s, const char *format, ...)
20 tmp_stream._flags = _IOWRITE + _IONBF + _IOWRITING;
21 tmp_stream._buf = (unsigned char *) s;
22 tmp_stream._ptr = (unsigned char *) s;
23 tmp_stream._count = 32767;
25 retval = _doprnt(format, ap, &tmp_stream);
26 putc('\0',&tmp_stream);