summaryrefslogtreecommitdiff
path: root/src/locale/__get_locale.c
blob: 4722175c2aa062b0d8e2f223d965279a708147bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "locale.h"
#include "_locale.h"

/*
This implementation only supports a single, global locale. A second
implementation will be needed for POSIX.1-2008 per-thread locales.
*/

struct __locale_t * __get_locale(void)
{
	static struct __locale_t l;
	return &l;
}