VkFormat(3X) VkFormat(3X)
VkFormat - Convenience function that prints into a buffer and returns it
#include <Vk/VkFormat.h>
const char *VkFormat(const char* fmt, .../*args*/);
VkFormat passes its arguments to vsprintf, which writes to a buffer that
is owned by VkFormat. What is written must not exceed BUFSIZ, as defined
by stdio.h. The caller must not attempt to free the buffer returned by
VkFormat.
The buffer contents remain valid only until the next call to VkFormat.
In particular, the buffer will remain valid across function calls only as
long as those functions, and anything they call, do not also use
VkFormat.
(libvk uses its own internal version of VkFormat, so calls to it are
safe.)
vsprintf(3S)
PPPPaaaaggggeeee 1111 [ Back ]
|