Initial revision
This commit is contained in:
14
modules/src/print/sprint.c
Normal file
14
modules/src/print/sprint.c
Normal file
@@ -0,0 +1,14 @@
|
||||
/* $Header$ */
|
||||
|
||||
#include <system.h>
|
||||
#include "param.h"
|
||||
|
||||
/*VARARGS1*/
|
||||
char *
|
||||
sprint(buf, fmt, args)
|
||||
char *buf, *fmt;
|
||||
int args;
|
||||
{
|
||||
buf[_format(buf, fmt, &args)] = '\0';
|
||||
return buf;
|
||||
}
|
||||
Reference in New Issue
Block a user