Implements Locale-support.
Locale-support Linux | Implements Locale-support. |
Copyright | This program is free software. |
Files | |
C-kern/ | Header file of Locale-support. |
C-kern/ | Linux specific implementation file Locale-support Linux. |
Implementation | |
charencoding_locale implementation | See charencoding_locale for interface description. |
setdefault_locale implementation | Calls C99 conforming function »setlocale«. |
reset_locale implementation | Calls C99 conforming function »setlocale«. |
init | |
test |
This program is free software. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
© 2011 Jörg Seebohn
Header file of Locale-support.
Linux specific implementation file Locale-support Linux.
charencoding_locale implementation | See charencoding_locale for interface description. |
setdefault_locale implementation | Calls C99 conforming function »setlocale«. |
reset_locale implementation | Calls C99 conforming function »setlocale«. |
init | |
test |
See charencoding_locale for interface description. Calls POSIX conforming nl_langinfo to query the information.
Calls C99 conforming function »setlocale«. With category LC_ALL all different subsystems of the C runtime environment are changed to the locale set by the user.
LC_COLLATE | Changes character classes in »regular expression matching« and »string compare and sorting«. |
LC_CTYPE | Changes character classification, conversion, case-sensitive comparison, and wide character functions. |
LC_MESSAGES | Changes language of system messages (strerror, perror). |
LC_MONETARY | Changes monetary formatting. |
LC_NUMERIC | Changes number formatting (such as the decimal point and the thousands separator). |
LC_TIME | Changes time and date formatting. |
Returns the name of the character encoding of the current selected locale.
const char * charencoding_locale( void )