OSDN Git Service

ec8344c383c528392255d29e1a3f11548d3b8ddb
[linuxjm/LDP_man-pages.git] / release / man3 / ecvt_r.3
1 .\" Copyright (C) 2002 Andries Brouwer <aeb@cwi.nl>
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 .\"
23 .\" This replaces an earlier man page written by Walter Harms
24 .\" <walter.harms@informatik.uni-oldenburg.de>.
25 .\"
26 .\" Corrected return types; from Fabian; 2004-10-05
27 .\"
28 .\" Japanese Version Copyright (c) 2002 Akihiro MOTOKI
29 .\"         all rights reserved.
30 .\" Translated Sun Sep 22 09:46:55 2002
31 .\"         by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
32 .\"
33 .\"WORD:        obsolete        廃止された
34 .\"
35 .TH ECVT_R 3  2007-07-26 "GNU" "Linux Programmer's Manual"
36 .SH 名前
37 ecvt_r, fcvt_r, qecvt_r, qfcvt_r \- 浮動小数点数の文字列への変換
38 .SH 書式
39 .nf
40 .B #include <stdlib.h>
41 .sp
42 .BI "int ecvt_r(double " number ", int " ndigits ", int *" decpt ,
43 .BI "           int *" sign ", char *" buf ", size_t " len );
44 .sp
45 .BI "int fcvt_r(double " number ", int " ndigits ", int *" decpt ,
46 .BI "           int *" sign ", char *" buf ", size_t " len );
47 .sp
48 .BI "int qecvt_r(long double " number ", int " ndigits ", int *" decpt ,
49 .BI "           int *" sign ", char *" buf ", size_t " len );
50 .sp
51 .BI "int qfcvt_r(long double " number ", int " ndigits ", int *" decpt ,
52 .BI "           int *" sign ", char *" buf ", size_t " len );
53 .fi
54 .sp
55 .in -4n
56 glibc 向けの機能検査マクロの要件
57 .RB ( feature_test_macros (7)
58 参照):
59 .in
60 .sp
61 .ad l
62 .BR ecvt_r (),
63 .BR fcvt_r (),
64 .BR qecvt_r (),
65 .BR qfcvt_r ():
66 .RS 4
67 _SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500
68 .RE
69 .ad b
70 .SH 説明
71 関数
72 .BR ecvt_r (),
73 .BR fcvt_r (),
74 .BR qecvt_r (),
75 .BR qfcvt_r ()
76 は、それぞれ
77 .BR ecvt (3),
78 .BR fcvt (3),
79 .BR qecvt (3),
80 .BR qfcvt (3)
81 と同じであるが、
82 静的バッファの代わりに、長さ
83 .I len
84 の指定された
85 .I buf
86 に結果を格納する点が異なる。
87 .BR ecvt (3),
88 .BR qecvt (3)
89 を参照のこと。
90 .SH 返り値
91 これらの関数は成功すると 0 を、それ以外は \-1 を返す。
92 .SH 準拠
93 これらの関数は GNU による拡張である。
94 .SH 注意
95 これらの関数は廃止された。代わりに
96 .BR sprintf (3)
97 の使用を推奨する。
98 .SH 関連項目
99 .BR ecvt (3),
100 .BR qecvt (3),
101 .BR sprintf (3)