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.
This commit is contained in:
Alexander Gottwald 2004-12-03 11:57:42 +00:00
commit 16a683f4d1
2 changed files with 68 additions and 0 deletions

View file

@ -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 */);