* lib/hard-locale.h (hard_locale): Add comment.
+2023-02-08 Bruno Haible <bruno@clisp.org>
+
+ hard-locale: Add comment regarding per-thread locales.
+ * lib/hard-locale.h (hard_locale): Add comment.
+
2023-02-08 Bruno Haible <bruno@clisp.org>
nl_langinfo: Add comment regarding per-thread locales.
/* Return true if the specified CATEGORY of the current locale is hard, i.e.
different from the C or POSIX locale that has a fixed behavior.
- CATEGORY must be one of the LC_* values, but not LC_ALL. */
+ CATEGORY must be one of the LC_* values, but not LC_ALL.
+ Note: This function uses the current global locale; it ignores the
+ per-thread locale. */
extern bool hard_locale (int category);
#endif /* HARD_LOCALE_H_ */