git: 92cf602e3809 - main - Copy strcasestr.c from libc to libkern.

Jessica Clarke jrtc27 at freebsd.org
Thu Jan 7 23:27:30 UTC 2021


On 7 Jan 2021, at 23:20, Vladimir Kondratyev <wulf at FreeBSD.org> wrote:
> +#include <ctype.h>
> +#include <string.h>
> +#include "xlocale_private.h"
> +
> +/*
> + * Find the first occurrence of find in s, ignore case.
> + */
> +char *
> +strcasestr_l(const char *s, const char *find, locale_t locale)

Locales in the kernel? This feels wrong.

Jess



More information about the dev-commits-src-all mailing list