Re: [PATCH 1/6] lib/string: add strnchrnul()

From: Andy Shevchenko
Date: Sun Apr 28 2019 - 12:04:10 EST


On Sat, Apr 27, 2019 at 08:29:31PM -0700, Yury Norov wrote:
> New function works like strchrnul() with a length limited strings.

The prototype better to be consistent with strchrnul() and memchr(), i.e.
the size parameter to go last.

--
With Best Regards,
Andy Shevchenko