FreeCalypso > hg > freecalypso-sw
view gsm-fw/sprintf/old/vsprintf.c @ 210:1d87b335fc50
gsm-fw/services/ffs: cfgffs.c integrated
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Thu, 26 Dec 2013 04:37:10 +0000 |
parents | 7e45ada9c365 |
children |
line wrap: on
line source
#include <stdarg.h> int vsprintf(str, fmt, ap) va_list ap; char *str, *fmt; { char *strptr; int len; strptr = str; len = _doprnt(fmt, ap, &strptr); *strptr = '\0'; return(len); }