Re: [PATCH 1/3] lib: add glibc style strchrnul() variant

2014-05-16 Thread Grant Likely
On Thu, 15 May 2014 15:19:00 -0700, Frank Rowand wrote: > On 5/13/2014 7:58 AM, Grant Likely wrote: > > 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 t

Re: [PATCH 1/3] lib: add glibc style strchrnul() variant

2014-05-15 Thread Frank Rowand
On 5/13/2014 7:58 AM, Grant Likely wrote: > 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