TCString::GetVarArgs

Helper function to write formatted output using an argument list

Windows
MacOS
Linux

Deprecated

  • GetVarArgs with DestSize and Count arguments has been deprecated - only DestSize should be passed

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/CString.h

Include

#include "Misc/CString.h"

Syntax

static int32 GetVarArgs
(
    CharType * Dest,
    SIZE_T DestSize,
    int32 Count,
    const CharType *& Fmt,
    va_list ArgPtr
)

Remarks

Helper function to write formatted output using an argument list

Returns

number of characters written or -1 if truncated

Parameters

Parameter

Description

Dest

destination string buffer

DestSize

size of destination buffer

Count

number of characters to write (not including null terminating character)

Fmt

string to print

Args

argument list

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss