Is there function like sprintf() in Linux Kernel (like printf()->printk())?
sprintf()
printf()
printk()
yes there is check out here for example
you can use grep to see if it is in the kernel's source code