From: Grant Likely Date: Fri, 14 Mar 2014 17:00:14 +0000 (+0000) Subject: lib: add glibc style strchrnul() variant X-Git-Tag: omap-for-v3.16/fixes-against-rc1~56^2~21^2~5^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11d200e95f3e84c1102e4cc9863a3614fd41f3ad;p=pandora-kernel.git lib: add glibc style strchrnul() variant The strchrnul() variant helpfully returns a the end of the string instead of a NULL if the requested character is not found. This can simplify string parsing code since it doesn't need to expicitly check for a NULL return. If a valid string pointer is passed in, then a valid null terminated string will always come back out. Signed-off-by: Grant Likely --- Reading git-diff-tree failed