mirror of
https://github.com/Evolution-X-Devices/kernel_google_b1c1
synced 2026-02-08 18:59:00 +00:00
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 <grant.likely@linaro.org>
4.4 KiB
4.4 KiB