blob: ba4687d96fb197ee740a12fbf25174493a3ab1f4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#include <locale.h>
#include "_locale.h"
#include "_safety.h"
/** return locale-specific information **/
struct lconv * localeconv(void)
{
SIGNAL_SAFE(0);
/*
RETURN_SUCCESS(a pointer to a filled-in STRUCTDEF(lconv) for the current locale);
*/
return &(__get_locale()->lconv);
}
__check_0(struct lconv *, NULL, localeconv)
/***
fills in a STRUCTDEF(lconv) in the current locale for
use in formatting numbers and monetary values.
***/
/*
LC_MONETARY
LC_NUMERIC
STDC(1)
*/
|