drawterm/libc/smprint.c

15 lines
168 B
C
Raw Normal View History

2005-08-08 14:50:13 +02:00
#include <u.h>
#include <libc.h>
char*
smprint(char *fmt, ...)
{
va_list args;
char *p;
va_start(args, fmt);
p = vsmprint(fmt, args);
va_end(args);
return p;
}