National language support (NLS) More...
Go to the source code of this file.
Macros | |
#define | MAIN_ERR_PREFIX "NLS: " |
Message prefix for NLS module. | |
#define | NLS_MAX_MESSAGE 384 |
Maximum number of messages loaded from NLS catalog. More... | |
Enumerations | |
enum | nls_locale { NLS_LOCALE_VALID, NLS_LOCALE_DEFAULT, NLS_LOCALE_INVALID } |
Functions | |
int | nls_init (void) |
Init NLS subsystem. More... | |
void | nls_exit (void) |
Shutdown NLS subsystem. More... | |
const char * | nls_getstring (int n, const char *s) |
Get NLS string. More... | |
Variables | |
char | nls_loc [6] = "" |
Current NLS locale. | |
National language support (NLS)
Copyright (c) 2012-2021 by the developers. See the LICENSE file for details.
If nothing else is specified, functions return zero to indicate success and a negative value to indicate an error.
Definition in file nls.c.