set the current locale NAME setlocale - set the current locale LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #include <loc......OBAL_LOCALE The calling thread's current locale is set to the global locale determined by setlocale (3). (locale_t) 0 The calling thread's current locale is left unchanged (and …...ewlocale (3). Individual and additional elements of the locale categories can be queried. setlocale (3) needs to be executed with proper arguments before. Examples for the local…...ewlocale (3). Individual and additional elements of the locale categories can be queried. setlocale (3) needs to be executed with proper arguments before. Examples for the local…...per the environment variables LANG , LC_MESSAGES , and LC_ALL , if the program has called setlocale (3) to effect their changes. Regardless of the locale, responses matching ^[Y…...he transformation is based on the program's current locale for category LC_COLLATE . (See setlocale (3)). RETURN VALUE The strxfrm () function returns the number of bytes requir…...nterpreted as appropriate for the program's current locale for category LC_COLLATE . (See setlocale (3).) RETURN VALUE The strcoll () function returns an integer less than, equa…...duplocale () creates a locale object containing a copy of the global locale determined by setlocale (3). RETURN VALUE On success, duplocale () returns a handle for the new local…...ocale> <string>\n", argv[0]); exit(EXIT_FAILURE); } /* Apply the specified locale. */ if (setlocale(LC_ALL, argv[1]) == NULL) { perror("setlocale"); exit(EXIT_FAILURE); } /* Cal…...nor the current locale. SEE ALSO locale (1), localedef (1), isalpha (3), nl_langinfo (3), setlocale (3), strcoll (3), strftime (3), locale (7)...eem to be discarded in SUSv2 in favor of always returning message . SEE ALSO catopen (3), setlocale (3)...point as the radix character ("decimal point"). SEE ALSO ecvt_r (3), gcvt (3), qecvt (3), setlocale (3), sprintf (3)...point as the radix character ("decimal point"). SEE ALSO ecvt_r (3), gcvt (3), qecvt (3), setlocale (3), sprintf (3)...w /usr/share/locale . STANDARDS POSIX.1-2008. HISTORY POSIX.1-2001. SEE ALSO catgets (3), setlocale (3)...w /usr/share/locale . STANDARDS POSIX.1-2008. HISTORY POSIX.1-2001. SEE ALSO catgets (3), setlocale (3)...rcase equivalent; the German sharp s is one example. SEE ALSO isalpha (3), newlocale (3), setlocale (3), towlower (3), towupper (3), uselocale (3), locale (7)...rcase equivalent; the German sharp s is one example. SEE ALSO isalpha (3), newlocale (3), setlocale (3), towlower (3), towupper (3), uselocale (3), locale (7)...rcase equivalent; the German sharp s is one example. SEE ALSO isalpha (3), newlocale (3), setlocale (3), towlower (3), towupper (3), uselocale (3), locale (7)...rcase equivalent; the German sharp s is one example. SEE ALSO isalpha (3), newlocale (3), setlocale (3), towlower (3), towupper (3), uselocale (3), locale (7)...57] [ $**1234.57] [ AUD**1,234.57] [ £**1234.57] [ GBP**1,234.57] SEE ALSO duplocale (3), setlocale (3), sprintf (3), locale (7)