nw::ut::snprintf Function

Syntax

int snprintf(
     char * dest,
     std::size_t destCount,
     std::size_t srcCount,
     const char * format,
     ...
);

Arguments

Name Description
out dest Write destination buffer address.
in destCount Size of buffer to be written.
in srcCount Size of data to be written. Specify as (destCount -1) if there is no particular value to specify.
in format Format.

Return Values

Returns the length of the string.

Description

Writes specified data in the format specified.

Copies the character string given by source up to the character count given by count, and always adds a null termination character.


CONFIDENTIAL