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