add iprint
This commit is contained in:
parent
e074ed0d7e
commit
8159666d6a
2 changed files with 15 additions and 0 deletions
14
src/libdraw/iprint.c
Normal file
14
src/libdraw/iprint.c
Normal 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;
|
||||
}
|
||||
|
|
@ -32,6 +32,7 @@ OFILES=\
|
|||
icossin.$O\
|
||||
icossin2.$O\
|
||||
init.$O\
|
||||
iprint.$O\
|
||||
keyboard.$O\
|
||||
line.$O\
|
||||
loadimage.$O\
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue