--- /dev/null
+#ifndef __FDPRINTF_H__
+#define __FDPRINTF_H__
+
+int fdprintf (int fd, const char *fmt, ...);
+
+extern int _fd_stdout;
+extern int _fd_stderr;
+
+#define PRINTOUT(fmt...) fdprintf (_fd_stdout, fmt)
+#define PRINTERR(fmt...) fdprintf (_fd_stderr, fmt)
+
+#endif /* __FDPRINTF_H__ */
+
+/* vim: set ts=4 sw=4 et: */