NE_STRLOWER(3)
π NAME π
ne_strlower, ne_tolower, ne_tolower_array β bestie, we're turning strings and characters into lower-case, and honestly? it's giving lowercase era β¨
πΈ SYNOPSIS πΈ
#include <ne_string.h>
const unsigned char *ne_tolower_array(void);
#define ne_tolower(c) (...)
char *ne_strlower(char *str);
π¦ DESCRIPTION π¦
okay so, the way that ne_strlower works is: it takes your str parameter and modifies every single character in it to its lower-case equivalent, in-place β like, right there in the actual string, no copy, no new buffer, main character behavior fr β and then it hands str right back to you. π«Ά
The ne_tolower macro? She returns a lower-case equivalent of char c. iconic. And ne_tolower_array returns a character mapping table which is, ngl, an implementation detail of this macro β so like, it's the machinery behind the curtain, not something you're meant to vibe with directly. π
And here's the thing bestie, lowkey important: all of the above operate on ASCII characters, independent of the locale. So don't come at it expecting locale-aware behavior, because that is not what's happening here. periodt. π
β RETURN VALUE β
ne_strlower returns the str parameter. that's it, that's the whole thing β she gives you back exactly what you gave her (but lowercase now) π
π HISTORY π
The ne_strlower function is available in neon 0.37.0 and later. so if you're on anything older, bestie, it's not there, sorry not sorry π
π SEE ALSO π
π COPYRIGHT π
Copyright Β© 2001-2026 Joe Orton
okay and that's the whole page, you ate that π β¨ this was the neon API reference, neon version 0.37.1, dated 15 March 2026 β go lowercase something, ily, bye π¦π
π¦ where this page comes from
- epel 10: neon-devel 0.37.1-4.el10_3 Β· LGPL-2.0-or-later AND GPL-2.0-or-later
- fedora 43: neon-devel 0.37.1-1.fc43 Β· LGPL-2.0-or-later AND GPL-2.0-or-later
- fedora 43: neon-devel 0.37.1-1.fc43 Β· LGPL-2.0-or-later AND GPL-2.0-or-later
- fedora 44: neon-devel 0.37.1-1.fc44 Β· LGPL-2.0-or-later AND GPL-2.0-or-later
- fedora 44: neon-devel 0.37.1-1.fc44 Β· LGPL-2.0-or-later AND GPL-2.0-or-later
- nixos 26.05: neon 0.37.1
- nixpkgs unstable: neon 0.37.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms