.TH "sprintf" 9 "sprintf" "25 May 1998" "Kernel Hacker's Manual" LINUX .SH NAME sprintf \- Format a string and place it in a buffer .SH SYNOPSIS .B "int" sprintf .BI "(char *" buf "," .BI "const char *" fmt "," .BI "... " ... ");" .SH ARGUMENTS .IP "buf" 12 The buffer to place the result into .IP "fmt" 12 The format string to use @...: Arguments for the format string .IP "..." 12 variable arguments