[U-Boot] [PATCH v3 38/72] string: Add strchrnul()

sjg at google.com sjg at google.com
Thu May 25 00:06:24 UTC 2017


This functions works like strchr() but returns the end of the string if
the character is not found. Add an implementation of this.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

Changes in v3: None
Changes in v2: None

 include/linux/string.h | 13 +++++++++++++
 lib/string.c           |  8 ++++++++
 2 files changed, 21 insertions(+)

Applied to u-boot-dm


More information about the U-Boot mailing list