commit | d5f1fb53353edc38da326445267c1df0c9676df2 | [log] [tgz] |
---|---|---|
author | Li Zefan <lizf@cn.fujitsu.com> | Thu Jan 14 10:53:55 2010 +0800 |
committer | Steven Rostedt <rostedt@goodmis.org> | Thu Jan 14 22:38:09 2010 -0500 |
tree | 42def644ebd0d343f2eba9e625f4b9b1ea8a36f0 | |
parent | a3291c14ecf0a995e30d993b7f2cae031de98727 [diff] |
lib: Introduce strnstr() It differs strstr() in that it limits the length to be searched in the first string. Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> LKML-Reference: <4B4E8743.6030805@cn.fujitsu.com> Acked-by: Frederic Weisbecker <fweisbec@gmail.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>