7#ifndef PXR_BASE_ARCH_VSNPRINTF_H
8#define PXR_BASE_ARCH_VSNPRINTF_H
15#include "pxr/base/arch/api.h"
22PXR_NAMESPACE_OPEN_SCOPE
40int ArchVsnprintf(
char *str,
size_t size,
const char *format, va_list ap)
78std::string ArchVStringPrintf(
const char *fmt, va_list ap)
86PXR_NAMESPACE_CLOSE_SCOPE
Define function attributes.
#define ARCH_PRINTF_FUNCTION(_fmt, _firstArg)
Macro used to indicate a function takes a printf-like specification.
ARCH_API std::string ArchStringPrintf(const char *fmt,...)
Returns a string formed by a printf()-like specification.
ARCH_API int ArchVsnprintf(char *str, size_t size, const char *format, va_list ap)
Return the number of characters (not including the null character) necessary for a particular sprintf...