OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / LDP_man-pages / original / man3 / localeconv.3
1 .\" Copyright (c) 1993 by Thomas Koenig (ig25@rz.uni-karlsruhe.de)
2 .\"
3 .\" Permission is granted to make and distribute verbatim copies of this
4 .\" manual provided the copyright notice and this permission notice are
5 .\" preserved on all copies.
6 .\"
7 .\" Permission is granted to copy and distribute modified versions of this
8 .\" manual under the conditions for verbatim copying, provided that the
9 .\" entire resulting derived work is distributed under the terms of a
10 .\" permission notice identical to this one.
11 .\"
12 .\" Since the Linux kernel and libraries are constantly changing, this
13 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
14 .\" responsibility for errors or omissions, or for damages resulting from
15 .\" the use of the information contained herein.  The author(s) may not
16 .\" have taken the same level of care in the production of this manual,
17 .\" which is licensed free of charge, as they might when working
18 .\" professionally.
19 .\"
20 .\" Formatted or processed versions of this manual, if unaccompanied by
21 .\" the source, must acknowledge the copyright and authors of this work.
22 .\" License.
23 .\" Modified Sat Jul 24 19:01:20 1993 by Rik Faith (faith@cs.unc.edu)
24 .TH LOCALECONV 3  1993-04-25 "GNU" "Linux Programmer's Manual"
25 .SH NAME
26 localeconv \- get numeric formatting information
27 .SH SYNOPSIS
28 .nf
29 .B #include <locale.h>
30 .sp
31 .B struct lconv *localeconv(void);
32 .fi
33 .SH DESCRIPTION
34 The
35 .BR localeconv ()
36 function returns a pointer to a
37 .I struct lconv
38 for the current locale.
39 This structure is shown in
40 .BR locale (7),
41 and contains all values associated with the locale categories
42 .B LC_NUMERIC
43 and
44 .BR LC_MONETARY .
45 Programs may also use the functions
46 .BR printf (3)
47 and
48 .BR strfmon (3),
49 which behave according to the actual locale in use.
50 .SH "CONFORMING TO"
51 C89, C99.
52 .SH BUGS
53 The
54 .BR printf (3)
55 family of functions may or may not honor the current locale.
56 .SH "SEE ALSO"
57 .BR locale (1),
58 .BR localedef (1),
59 .BR isalpha (3),
60 .BR nl_langinfo (3),
61 .BR setlocale (3),
62 .BR strcoll (3),
63 .BR strftime (3),
64 .BR locale (7)