GET_LOCALE(4)
β¨ NAME β¨
This is the Get_Locale page from the special-file manual, bestie β it gets a tool's locale. Yes, literally that. π
πΈ SYNOPSIS πΈ
Get_Locale(in string category,
out string locale
[...]);
π¦ DESCRIPTION π¦
Okay so the Get_Locale request reports the POSIX locale of the indicated locale categories. β¨
The category argument is the locale category to get. A locale category is a group of data types whose output formatting varies according to locale in a similar way. The ISO C and X/Open locale categories are:
LC_ALLLC_COLLATELC_CTYPELC_MESSAGESLC_MONETARYLC_NUMERICLC_TIME
The locale argument is the name of the current locale of the indicated category. The value of locale is implementation-defined β thatβs just the rules, no cap. π«Ά
π ERRORS π
The ToolTalk service may return the following error in processing the Get_Locale request:
TT_DESKTOP_EINVALβ thelocaleargument is not valid on the handler's host. π
π APPLICATION USAGE π
The ttdt_session_join(3) function can be used to register for, and transparently process, the Get_Locale request. π§
Also, Get_Locale can be sent by ttdt_sender_imprint_on(3), with the reply being handled transparently. π
π SEE ALSO π
setlocale3C ttdt_sender_imprint_on(3), ttdt_session_join(3); Set_Locale request.
Thatβs the whole Get_Locale special-file page, bestie β the original footer has no source, version, or date line to quote, just the title again, so this is the cute sign-off. Periodt. ππ
π¦ where this page comes from
- nixos 26.05: cde 2.5.3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms