[I18N]environment variable priority
In which language will your application's interface will be displayed?
It depends on the following environment variables with decreasing priority:
- LANGUAGE
- LC_ALL
- LC_xxx
- LANG
This blog is about works I have done for Gentoo and free software in general
In which language will your application's interface will be displayed?
As a consequence, all functions related to it now have a new parameter-freezer_flag, as shown in the source code(include header files)
struct kthread_create_info
{
/* Information passed to kthread() from keventd. */
int (*threadfn)(void *data);
void *data;
unsigned long freezer_flags;
struct completion started;
/* Result passed back to kthread_create() from keventd. */
struct task_struct *result;
struct completion done;
};