sprintf
◄Summary► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
The sprintf function formats and stores a series of characters and
values in <buffer>. Each <argument> (if any) is converted and
output according to the corresponding format specification in the
<format> argument. The format consists of ordinary characters and
has the same form and function as the <format> argument for the
printf function. A null character is appended to the end of the
characters written, but is not counted in the return value.
See: ◄printf Formatting Table►
Return Value
The sprintf function returns the number of characters stored in
<buffer>, excluding the terminating null character.
-♦-