diff options
Diffstat (limited to 'src/libdraw')
-rw-r--r-- | src/libdraw/iprint.c | 14 | ||||
-rw-r--r-- | src/libdraw/mkfile | 1 |
2 files changed, 15 insertions, 0 deletions
diff --git a/src/libdraw/iprint.c b/src/libdraw/iprint.c new file mode 100644 index 00000000..206044e7 --- /dev/null +++ b/src/libdraw/iprint.c @@ -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; +} diff --git a/src/libdraw/mkfile b/src/libdraw/mkfile index a4b8100a..ddb0e833 100644 --- a/src/libdraw/mkfile +++ b/src/libdraw/mkfile @@ -32,6 +32,7 @@ OFILES=\ icossin.$O\ icossin2.$O\ init.$O\ + iprint.$O\ keyboard.$O\ line.$O\ loadimage.$O\ |