]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/uprintf/Uprint.nc
Add uprintf library; use it in tmimsp platforms
[tinyos-2.x.git] / tos / lib / uprintf / Uprint.nc
diff --git a/tos/lib/uprintf/Uprint.nc b/tos/lib/uprintf/Uprint.nc
new file mode 100644 (file)
index 0000000..33dd120
--- /dev/null
@@ -0,0 +1,18 @@
+/* Copyright (c) 2012 by Sporian Microsystems, Inc.
+ * All Rights Reserved.
+ *
+ * This document is the proprietary and confidential property of Sporian
+ * Microsystems, Inc.  All use, distribution, reproduction or re-distribution
+ * is disallowed without the prior express written consent of Sporian
+ * Microsystems, Inc.
+ */
+
+/* A shim for putc to enable uprintf.
+ */
+
+#include <stdarg.h>
+#include "Uprint.h"
+
+interface Uprint {
+  async command uprint_ptr_t uptr();
+}