tadd iprint - plan9port - [fork] Plan 9 from user space
git clone git://src.adamsgaard.dk/plan9port
Log
Files
Refs
README
LICENSE
---
commit 8159666d6abbe11749ac45a52bb0192663849b73
parent e074ed0d7e7c45a087f745709818b026dcbe2ee0
Author: rsc 
Date:   Sun, 25 Jun 2006 23:52:51 +0000

add iprint

Diffstat:
  A src/libdraw/iprint.c                |      14 ++++++++++++++
  M src/libdraw/mkfile                  |       1 +

2 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/src/libdraw/iprint.c b/src/libdraw/iprint.c
t@@ -0,0 +1,14 @@
+#include 
+#include 
+#include 
+
+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
t@@ -32,6 +32,7 @@ OFILES=\
         icossin.$O\
         icossin2.$O\
         init.$O\
+        iprint.$O\
         keyboard.$O\
         line.$O\
         loadimage.$O\