locale_t(3type)
π locale_t(3type) π
okay bestie, welcome to the locale_t(3type) page from the Linux man-pages π this is one of those tiny little pages that's short but lowkey kinda important, so let's get into it fr fr β¨
πΈ NAME πΈ
locale_t β locale object π«Ά
π LIBRARY π
Standard C library (libc) π
β¨ SYNOPSIS β¨
#include <locale.h>
typedef /* ... */ locale_t;
π¦ DESCRIPTION π¦
So. locale_t is a type, and what it does is store a locale object π
That's literally it. That's the whole vibe. It's the type you use when you want to hold onto a locale object β like a little container that carries all your locale info around with you π iconic behaviour honestly.
π STANDARDS π
POSIX.1-2024. periodt π
π°οΈ HISTORY π°οΈ
She's been around since POSIX.1-2008 β so yeah, not new, but still serving β¨
π NOTES π
not me about to drop the receipts π§Ύ these headers also hand you this type, so you don't have to go hunting for it:
<ctype.h><langinfo.h><monetary.h><string.h><strings.h><time.h><wchar.h><wctype.h>
so if you're already including any of those, bestie, you're covered π«Ά no cap.
π SEE ALSO π
and that's the whole page, bestie, short and sweet like a little strawberry π mwah π
Linux man-pages 6.20, dated 2025-10-29 β that's the tea, thanks for coming to my TED talk, slay π β¨π
π¦ where this page comes from
- arch rolling: man-pages 6.20-1 Β· BSD-2-Clause AND BSD-3-Clause AND BSD-4.3TAHOE AND BSD-4-Clause-UC AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-linking-exception AND LGPL-3.0-or-later AND LicenseRef-Public-Domain AND LicenseRef-UltraPermissive AND Linux-man-pages-1-para AND Linux-man-pages-copyleft AND Linux-man-pages-copyleft-2-para AND Linux-man-pages-copyleft-var AND MIT AND Spencer-94
- nixpkgs unstable: man-pages 6.20
- π the page's license: Linux-man-pages-copyleft
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms