sprintf
sprintf - formatted print into a string
sprintf FORMAT,LIST
Returns a string formatted by the usual printf conventions of the C
language. See sprintf(3) or printf(3) on your system for details.
(The * character for an indirectly specified length is not
supported, but you can get the same effect by interpolating a variable
into the pattern.) Some C libraries' implementations of
sprintf()
can
dump core when fed ludicrous arguments.