nn::nstd::TSNPrintf Function

Syntax

s32 TSNPrintf(
     char * dst,
     size_t len,
     const char * fmt,
     ...
);

Arguments

Name Description
out dst Specifies the buffer that stores the result.
in len Specifies the length of the dst buffer.
in fmt Specifies a general printf formatted text string. However, it cannot specify floating point strings (e.g., %f).
in ... Specifies a parameter corresponding to the formatted string.

Return Values

Returns the number of characters of the formatted string correctly output.

Description

Outputs a string. Memory-conserving version of snprintf.


CONFIDENTIAL