ref: b2527a724b7a3fc8bd1c4bc9ba6a7bc6032bc47d dir: /libc/smprint.c/
#include <u.h> #include <libc.h> #include "fmtdef.h" char* smprint(char *fmt, ...) { va_list args; char *p; va_start(args, fmt); p = vsmprint(fmt, args); va_end(args); return p; }