Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ VkFormat(3X) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

vsprintf(3S)



VkFormat(3X)                                                      VkFormat(3X)



NAME
     VkFormat - Convenience function that prints into a buffer and returns it

SYNOPSIS
     #include <Vk/VkFormat.h>

const char *VkFormat(const char* fmt, .../*args*/);
DESCRIPTION
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.)
SEE ALSO
vsprintf(3S)
Page 1

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026