diff options
| author | Tom Rini <[email protected]> | 2023-01-04 08:50:24 -0500 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-01-04 08:50:24 -0500 |
| commit | 8d6cbf5e6bc4e10e38b954763fa025caed517cc2 (patch) | |
| tree | b4897b417188cf4df17a2ce7b39e71cedf18a54a /include/charset.h | |
| parent | 582e3c9fb2337c2f49faa73ac86dde25f4d56901 (diff) | |
| parent | 60bba6e2052c281afe401247e10aebcb4c17049b (diff) | |
Merge tag 'efi-2023-01-rc5-3' of https://source.denx.de/u-boot/custodians/u-boot-efi
Pull request for efi-2023-01-rc5-3
Documentation:
* Describe building documentation
UEFI:
* Add .data section to aarch64 EFI binaries and correct section flags
* Correct sorting of capsules when updating
* Populate console handles in system table
Other:
* Fix description of eth_env_[gs]et_enetaddr() return value
* Avoid endless loop in sound play command
Diffstat (limited to 'include/charset.h')
| -rw-r--r-- | include/charset.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/charset.h b/include/charset.h index e900fd789a2..6e79d7152e6 100644 --- a/include/charset.h +++ b/include/charset.h @@ -174,6 +174,19 @@ s32 utf_to_lower(const s32 code); s32 utf_to_upper(const s32 code); /** + * u16_strcasecmp() - compare two u16 strings case insensitively + * + * @s1: first string to compare + * @s2: second string to compare + * @n: maximum number of u16 to compare + * Return: 0 if the first n u16 are the same in s1 and s2 + * < 0 if the first different u16 in s1 is less than the + * corresponding u16 in s2 + * > 0 if the first different u16 in s1 is greater than the + */ +int u16_strcasecmp(const u16 *s1, const u16 *s2); + +/** * u16_strncmp() - compare two u16 string * * @s1: first string to compare |
