内核编程用到几个字符串函数

1. 在/lib/vsprintf.c 中,

有simple_strtoull(input_buf, NULL,base(基数2,8,10,16))

例如 u32 li = (u32)simple_strtoull(buf,NULL,10);

simple_strtoul

simple_strtol

simple_strtoll

 

posted @ 2013-05-23 14:22  lcnewstart  阅读(145)  评论(0编辑  收藏  举报