FreeCalypso > hg > fc-selenite
view src/libsys/sprintf/sprintf.c @ 86:425ab6d987f3
src/libsys: pieced together from Citrine
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 20 Jul 2018 20:36:19 +0000 |
parents | |
children |
line wrap: on
line source
#include <stdarg.h> int sprintf(char *strdest, char *fmt, ...) { va_list ap; int len; va_start(ap, fmt); len = vsprintf(strdest, fmt, ap); va_end(ap); return(len); }