NE_STRLOWER(3)

πŸ“¦
version 0.37.1 Β· 3 versions
, in epel 10, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable

πŸ’– 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 Β© 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