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

2017-05-24 Thread sjg
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 --- Changes in v3: None Changes in v2: None include/linux/string.h | 13 + lib/string.c | 8 2 files cha

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

2017-05-18 Thread Simon Glass
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 --- Changes in v3: None Changes in v2: None include/linux/string.h | 13 + lib/string.c | 8 2 files cha