FreeCalypso > hg > freecalypso-citrine
view sprintf/old/vsprintf.c @ 27:3ecd6054a7f7
doc/Firmware_Architecture: copied from freecalypso-sw tree, not updated yet
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 12 Jun 2016 04:26:04 +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); }