FreeCalypso > hg > freecalypso-sw
view gsm-fw/sprintf/old/vsprintf.c @ 890:452a4aea3fc5
gsm-fw: implemented reading of Pirelli's factory calibration records
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Mon, 29 Jun 2015 21:45:23 +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); }