Pixar Arch
Loading...
Searching...
No Matches
vsnprintf.h File Reference

Architecture dependent memory-safe sprintf capability. More...

#include "./api.h"
#include "./attributes.h"
#include <stdio.h>
#include <stdarg.h>
#include <string>

Go to the source code of this file.

Namespaces

namespace  pxr
 

Functions

ARCH_API int pxr::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 into a string.
 
ARCH_API std::string pxr::ArchStringPrintf (const char *fmt,...)
 Returns a string formed by a printf()-like specification.
 
ARCH_API std::string pxr::ArchVStringPrintf (const char *fmt, va_list ap)
 Returns a string formed by a printf()-like specification.
 

Detailed Description

Architecture dependent memory-safe sprintf capability.