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 <s...@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 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot