man sprintf () - See printf.3posix

REFERENCE

See printf.3posix