| /* Copyright (c) 2002-2006 Lucent Technologies; see LICENSE */ | |
| #include <stdarg.h> | |
| #include "plan9.h" | |
| #include "fmt.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; | |
| } |