FreeBSD/usr.bin/locale/locale.c
/*
 * Output information about all available locales
 *
 * XXX actually output of this function does not guarantee that locale
 *     is really available to application, since it can be broken or
 *     inconsistent thus setlocale() will fail.  Maybe add '-V' function to
 *     also validate these locales?
 */
Output information about all available locales
XXX actually output of this function does not guarantee that locale
is really available to application, since it can be broken or
inconsistent thus setlocale() will fail.
Output information about all available locales XXX actually output of this function does not guarantee that locale is really available to application since it can be broken or inconsistent thus setlocale () will fail .
void
list_locales(void)
{
	size_t i;
	init_locales_list();
	for (i = 0; i < locales->sl_cur; i++) {
		printf("%s\n", locales->sl_str[i]);
	}
}
void list_locales ( void ) { size_t i ; init_locales_list ( ) ; for ( i = 0 ; i < locales -> sl_cur ; i ++ ) { printf ( " \n " , locales -> sl_str [ i ] ) ; } }
Output information about all available locales
 XXX actually output of this function does not guarantee that locale
     is really available to application, since it can be broken or
     inconsistent thus setlocale() will fail.
Output information about all available locales XXX actually output of this function does not guarantee that locale is really available to application since it can be broken or inconsistent thus setlocale () will fail .