add iprint

This commit is contained in:
rsc 2006-06-25 23:52:51 +00:00
parent e074ed0d7e
commit 8159666d6a
2 changed files with 15 additions and 0 deletions

14
src/libdraw/iprint.c Normal file
View file

@ -0,0 +1,14 @@
#include <u.h>
#include <libc.h>
#include <draw.h>
int
iprint(char *fmt, ...)
{
va_list arg;
va_start(arg, fmt);
vfprint(1, fmt, arg);
va_end(arg);
return 0;
}

View file

@ -32,6 +32,7 @@ OFILES=\
icossin.$O\
icossin2.$O\
init.$O\
iprint.$O\
keyboard.$O\
line.$O\
loadimage.$O\