Is there a C function like sprintf in the Linux kernel?

后端 未结 5 1848
甜味超标
甜味超标 2021-01-17 08:24

Is there function like sprintf() in Linux Kernel (like printf()->printk())?

5条回答
  •  执笔经年
    2021-01-17 08:45

    Running crash on a live 2.6 kernel confirms sprintf() is defined, and where it is defined.

    crash> sym sprintf

    ffffffff81267ba0 (T) sprintf ../debug/kernel-2.6.39/linux-2.6.39-400.210.2.el6uek/lib/vsprintf.c: 1442

提交回复
热议问题