[U-Boot] [PATCH v3 39/72] string: Add strcspn()

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


Add an implementation of strcspn() which returns the number of initial
characters that do not match any in a rejection list.

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

Changes in v3: None
Changes in v2: None

 include/linux/string.h | 15 +++++++++++++++
 lib/string.c           | 24 ++++++++++++++++++++++++
 2 files changed, 39 insertions(+)

Applied to u-boot-dm


More information about the U-Boot mailing list