OSDN Git Service

Update README
[linuxjm/LDP_man-pages.git] / release / man3 / localeconv.3
1 .\" Copyright (c) 1993 by Thomas Koenig (ig25@rz.uni-karlsruhe.de)
2 .\"
3 .\" %%%LICENSE_START(VERBATIM)
4 .\" Permission is granted to make and distribute verbatim copies of this
5 .\" manual provided the copyright notice and this permission notice are
6 .\" preserved on all copies.
7 .\"
8 .\" Permission is granted to copy and distribute modified versions of this
9 .\" manual under the conditions for verbatim copying, provided that the
10 .\" entire resulting derived work is distributed under the terms of a
11 .\" permission notice identical to this one.
12 .\"
13 .\" Since the Linux kernel and libraries are constantly changing, this
14 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
15 .\" responsibility for errors or omissions, or for damages resulting from
16 .\" the use of the information contained herein.  The author(s) may not
17 .\" have taken the same level of care in the production of this manual,
18 .\" which is licensed free of charge, as they might when working
19 .\" professionally.
20 .\"
21 .\" Formatted or processed versions of this manual, if unaccompanied by
22 .\" the source, must acknowledge the copyright and authors of this work.
23 .\" %%%LICENSE_END
24 .\"
25 .\" Modified Sat Jul 24 19:01:20 1993 by Rik Faith (faith@cs.unc.edu)
26 .\"*******************************************************************
27 .\"
28 .\" This file was generated with po4a. Translate the source file.
29 .\"
30 .\"*******************************************************************
31 .\"
32 .\" Japanese Version Copyright (c) 1997 YOSHINO Takashi
33 .\"       all rights reserved.
34 .\" Translated Tue May 26 00:11:13 JST 1998
35 .\"       by YOSHINO Takashi <yoshino@eng.toyo.ac.jp>
36 .\" Updated 2013-07-24, Akihiro MOTOKI <amotoki@gmail.com>
37 .\"
38 .TH LOCALECONV 3 2013\-06\-21 GNU "Linux Programmer's Manual"
39 .SH 名前
40 localeconv \- 数値に関する書式情報を得る
41 .SH 書式
42 .nf
43 \fB#include <locale.h>\fP
44 .sp
45 \fBstruct lconv *localeconv(void);\fP
46 .fi
47 .SH 説明
48 \fBlocaleconv\fP()  関数は、現在のロケール情報を表す \fIstruct lconv\fP へのポインターを返す。 この構造体は
49 \fBlocale\fP(7)  で説明されており、ロケールカテゴリー \fBLC_NUMERIC\fP と \fBLC_MONETARY\fP
50 に関連するすべての値を含んでいる。 この関数を用いるプログラムは、おそらく同時に \fBprintf\fP(3)  や \fBstrfmon\fP(3)
51 のような関数も用いるだろう。 これらの関数は、現在使用されているロケールに従った動作をする。
52 .SH 返り値
53 \fBlocaleconv\fP() 関数は、情報が格納された \fIstruct lconv\fP へのポインターを返す。
54 この構造体は静的に割り当てられる場合があり (glibc では「そうだ」)、後の呼び出しで上書きされる可能性がある。 POSIX
55 では、呼び出し元はこの構造体の内容を変更すべきではないとされている。 \fBlocaleconv\fP() 関数は常に成功する。
56 .SH 属性
57 .SS "マルチスレッディング (pthreads(7) 参照)"
58 \fBlocaleconv\fP() 関数はスレッドセーフではない。この関数は、後の呼び出しで上書きされる可能性がある構造体へのポイントを返すからである。
59 .SH 準拠
60 C89, C99
61 .SH バグ
62 \fBprintf\fP(3)  グループの関数は現在のロケールを反映するかもしれないし、 しないかもしれない。
63 .SH 関連項目
64 \fBlocale\fP(1), \fBlocaledef\fP(1), \fBisalpha\fP(3), \fBnl_langinfo\fP(3),
65 \fBsetlocale\fP(3), \fBstrcoll\fP(3), \fBstrftime\fP(3), \fBlocale\fP(7)
66 .SH この文書について
67 この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.79 の一部
68 である。プロジェクトの説明とバグ報告に関する情報は
69 http://www.kernel.org/doc/man\-pages/ に書かれている。