summaryrefslogtreecommitdiffstats
path: root/catsprintf.h
diff options
context:
space:
mode:
authornima <nima@abc39116-655e-4be6-ad55-d661dc543056>2008-06-30 12:08:58 +0000
committernima <nima@abc39116-655e-4be6-ad55-d661dc543056>2008-06-30 12:08:58 +0000
commite7d6d472c21aa80c28be01c0d6dcbfd250d57a25 (patch)
tree04d9d76a9a48f183f4cdf1c922a8e33555e77da1 /catsprintf.h
downloadpython-dmidecode-e7d6d472c21aa80c28be01c0d6dcbfd250d57a25.tar.gz
python-dmidecode-e7d6d472c21aa80c28be01c0d6dcbfd250d57a25.tar.xz
python-dmidecode-e7d6d472c21aa80c28be01c0d6dcbfd250d57a25.zip
First commit to SVN.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@1 abc39116-655e-4be6-ad55-d661dc543056
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