FreeCalypso > hg > fc-selenite
view src/libsys/sprintf/sprintf.c @ 179:2a9935250c95
src/cs: sync with Magnetite
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 04 Jan 2020 21:38:55 +0000 |
parents | 425ab6d987f3 |
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); }