summaryrefslogtreecommitdiff
path: root/src/locale/localeconv.c
blob: 90432faff947a1a11486d18d8e125b3eb8383392 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include <locale.h>
#include "_locale.h"

/** return locale-specific information **/

struct lconv * localeconv(void)
{
	/*
	RETURN_SUCCESS(a pointer to a filled-in STRUCTDEF(lconv) for the current locale);
	*/
	return &(__get_locale()->lconv);
}

/***
fills in a STRUCTDEF(lconv) in the current locale for
use in formatting numbers and monetary values.
***/

/*
LC_MONETARY
LC_NUMERIC
STDC(1)
*/