Re: [PATCH 1/4] lib: Add strcspn function

2025-05-06 Thread Andrew Cooper
On 06/05/2025 5:24 pm, Kevin Lampis wrote: > diff --git a/xen/include/xen/string.h b/xen/include/xen/string.h > index bd4a8f48e9..70c231b690 100644 > --- a/xen/include/xen/string.h > +++ b/xen/include/xen/string.h > @@ -26,6 +26,7 @@ size_t strnlen(const char *s, size_t count); > char *strpbrk(con

[PATCH 1/4] lib: Add strcspn function

2025-05-06 Thread Kevin Lampis
This will be used by future patches. Signed-off-by: Ross Lagerwall Signed-off-by: Kevin Lampis --- xen/include/xen/string.h | 1 + xen/lib/Makefile | 1 + xen/lib/strcspn.c| 22 ++ 3 files changed, 24 insertions(+) create mode 100644 xen/lib/strcspn.c dif