aboutsummaryrefslogtreecommitdiff
path: root/libc/src/strings/strncasecmp_l.cpp
AgeCommit message (Collapse)AuthorFilesLines
2025-03-12[libc] implement `strings/str{n}casecmp_l` (#130407)Connector Switch1-0/+27
ref: https://pubs.opengroup.org/onlinepubs/9799919799/functions/strcasecmp_l.html This patch introduces the `strcasecmp_l` function. At present, the locale parameter is ignored, making it a stub implementation. This is consistent with how other locale-related functions, such as `islower_l`, are treated in our codebase as well as in [musl](https://github.com/bminor/musl/blob/master/src/string/strcasecmp.c) and [bionic](https://cs.android.com/android/platform/superproject/main/+/main:bionic/libc/bionic/strings_l.cpp). --------- Co-authored-by: Michael Jones <michaelrj@google.com>