mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-22 20:35:43 +00:00
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.
This commit is contained in:
parent
fe2a2213d1
commit
16a683f4d1
2 changed files with 68 additions and 0 deletions
|
|
@ -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 */);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue