FreeCalypso > hg > freecalypso-citrine
view sprintf/old/vsprintf.c @ 29:c0f2d21307d1
comlib/cl_imei.c: Pirelli-specific bug fixed
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Sat, 15 Oct 2016 00:45:16 +0000 |
| parents | 75a11d740a02 |
| 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); }
