string: Add strcspn()
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@chromium.org>
Loading
Please register or sign in to comment