summaryrefslogtreecommitdiffstats
path: root/catsprintf.h
diff options
context:
space:
mode:
Diffstat (limited to 'catsprintf.h')
-rw-r--r--catsprintf.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/catsprintf.h b/catsprintf.h
new file mode 100644
index 0000000..992cb2e
--- /dev/null
+++ b/catsprintf.h
@@ -0,0 +1,10 @@
+#ifndef CAT
+#define CAT 1
+
+#include <stdarg.h>
+#include <string.h>
+#include <stdio.h>
+int catsprintf(char *buf, const char *format, ...);
+/* sed -i -e 's/\<printf(/catsprintf(buffer, /g' dmidecode.c */
+
+#endif