diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2010-01-13 21:53:55 -0500 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2010-01-14 22:38:09 -0500 |
commit | d5f1fb53353edc38da326445267c1df0c9676df2 (patch) | |
tree | 42def644ebd0d343f2eba9e625f4b9b1ea8a36f0 /lib/fault-inject.c | |
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>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions