summaryrefslogtreecommitdiff
path: root/include/os.h
diff options
context:
space:
mode:
authorAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2004-12-03 11:57:42 +0000
committerAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2004-12-03 11:57:42 +0000
commit16a683f4d164899ecfdafb853f48cff10fd13fd4 (patch)
tree3d1a06522092c82b4b872308d07a61e38532ef63 /include/os.h
parentfe2a2213d1db8700f6078379f86ebe8827793c20 (diff)
Bugzilla #1865, https://bugs.freedesktop.org/show_bug.cgi?id=1865 Added
X(NF)printf and X(NF)vprintf functions which allocate the buffer with X(NF)alloc Bugzilla #1865, https://bugs.freedesktop.org/show_bug.cgi?id=1865 extend snprintf to work on NULL.
Diffstat (limited to 'include/os.h')
-rw-r--r--include/os.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/os.h b/include/os.h
index 34337ce6a..947c6a0c3 100644
--- a/include/os.h
+++ b/include/os.h
@@ -256,6 +256,10 @@ extern void OsInitAllocator(void);
extern char *Xstrdup(const char *s);
extern char *XNFstrdup(const char *s);
+extern char *Xprintf(const char *fmt, ...);
+extern char *Xvprintf(const char *fmt, va_list va);
+extern char *XNFprintf(const char *fmt, ...);
+extern char *XNFvprintf(const char *fmt, va_list va);
typedef SIGVAL (*OsSigHandlerPtr)(int /* sig */);