comparison gsm-fw/sprintf/vsprintf.c @ 143:afceeeb2cba1

Our nuc-fw is destined to become gsm-fw, so I went ahead and did the big hg mv
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Tue, 12 Nov 2013 05:35:48 +0000
parents nuc-fw/sprintf/vsprintf.c@947b1f473960
children
comparison
equal deleted inserted replaced
142:15d5977390c2 143:afceeeb2cba1
1 #include <stdarg.h>
2
3 int
4 vsprintf(str, fmt, ap)
5 va_list ap;
6 char *str, *fmt;
7 {
8 char *strptr;
9 int len;
10
11 strptr = str;
12 len = _doprnt(fmt, ap, &strptr);
13 *strptr = '\0';
14 return(len);
15 }