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
---
Changes in v3: None
Changes in v2: None
include/linux/string.h | 15 +++
lib/string.c | 24
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
---
Changes in v3: None
Changes in v2: None
include/linux/string.h | 15 +++
lib/string.c | 24
2 matches
Mail list logo