OSDN Git Service

(split) Import translated manuals from JM CVS Repository.
[linuxjm/LDP_man-pages.git] / draft / 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 .\"O .SH NAME
37 .SH Ì¾Á°
38 .\"O ecvt_r, fcvt_r, qecvt_r, qfcvt_r \- convert a floating-point number to a string
39 ecvt_r, fcvt_r, qecvt_r, qfcvt_r \- ÉâÆ°¾®¿ôÅÀ¿ô¤Îʸ»úÎó¤Ø¤ÎÊÑ´¹
40 .\"O .SH SYNOPSIS
41 .SH ½ñ¼°
42 .nf
43 .B #include <stdlib.h>
44 .sp
45 .BI "int ecvt_r(double " number ", int " ndigits ", int *" decpt ,
46 .BI "           int *" sign ", char *" buf ", size_t " len );
47 .sp
48 .BI "int fcvt_r(double " number ", int " ndigits ", int *" decpt ,
49 .BI "           int *" sign ", char *" buf ", size_t " len );
50 .sp
51 .BI "int qecvt_r(long double " number ", int " ndigits ", int *" decpt ,
52 .BI "           int *" sign ", char *" buf ", size_t " len );
53 .sp
54 .BI "int qfcvt_r(long double " number ", int " ndigits ", int *" decpt ,
55 .BI "           int *" sign ", char *" buf ", size_t " len );
56 .fi
57 .sp
58 .in -4n
59 .\"O Feature Test Macro Requirements for glibc (see
60 .\"O .BR feature_test_macros (7)):
61 glibc ¸þ¤±¤Îµ¡Ç½¸¡ºº¥Þ¥¯¥í¤ÎÍ×·ï
62 .RB ( feature_test_macros (7)
63 »²¾È):
64 .in
65 .sp
66 .ad l
67 .BR ecvt_r (),
68 .BR fcvt_r (),
69 .BR qecvt_r (),
70 .BR qfcvt_r ():
71 _SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500
72 .ad b
73 .\"O .SH DESCRIPTION
74 .SH ÀâÌÀ
75 .\"O The functions
76 .\"O .BR ecvt_r (),
77 .\"O .BR fcvt_r (),
78 .\"O .BR qecvt_r ()
79 .\"O and
80 .\"O .BR qfcvt_r ()
81 .\"O are identical to
82 .\"O .BR ecvt (3),
83 .\"O .BR fcvt (3),
84 .\"O .BR qecvt (3)
85 .\"O and
86 .\"O .BR qfcvt (3),
87 .\"O respectively, except that they do not return their result in a static
88 .\"O buffer, but instead use the supplied
89 .\"O .I buf
90 .\"O of size
91 .\"O .IR len .
92 .\"O See
93 .\"O .BR ecvt (3)
94 .\"O and
95 .\"O .BR qecvt (3).
96 ´Ø¿ô
97 .BR ecvt_r (),
98 .BR fcvt_r (),
99 .BR qecvt_r (),
100 .BR qfcvt_r ()
101 ¤Ï¡¢¤½¤ì¤¾¤ì
102 .BR ecvt (3),
103 .BR fcvt (3),
104 .BR qecvt (3),
105 .BR qfcvt (3)
106 ¤ÈƱ¤¸¤Ç¤¢¤ë¤¬¡¢
107 ÀÅŪ¥Ð¥Ã¥Õ¥¡¤ÎÂå¤ï¤ê¤Ë¡¢Ä¹¤µ
108 .I len
109 ¤Î»ØÄꤵ¤ì¤¿
110 .I buf
111 ¤Ë·ë²Ì¤ò³ÊǼ¤¹¤ëÅÀ¤¬°Û¤Ê¤ë¡£
112 .BR ecvt (3),
113 .BR qecvt (3)
114 ¤ò»²¾È¤Î¤³¤È¡£
115 .\"O .SH "RETURN VALUE"
116 .SH ÊÖ¤êÃÍ
117 .\"O These functions return 0 on success, and \-1 otherwise.
118 ¤³¤ì¤é¤Î´Ø¿ô¤ÏÀ®¸ù¤¹¤ë¤È 0 ¤ò¡¢¤½¤ì°Ê³°¤Ï \-1 ¤òÊÖ¤¹¡£
119 .\"O .SH "CONFORMING TO"
120 .\"O These functions are GNU extensions.
121 .SH ½àµò
122 ¤³¤ì¤é¤Î´Ø¿ô¤Ï GNU ¤Ë¤è¤ë³ÈÄ¥¤Ç¤¢¤ë¡£
123 .\"O .SH NOTES
124 .SH Ãí°Õ
125 .\"O These functions are obsolete.
126 .\"O Instead,
127 .\"O .BR sprintf (3)
128 .\"O is recommended.
129 ¤³¤ì¤é¤Î´Ø¿ô¤ÏÇѻߤµ¤ì¤¿¡£Âå¤ï¤ê¤Ë
130 .BR sprintf (3)
131 ¤Î»ÈÍѤò¿ä¾©¤¹¤ë¡£
132 .\"O .SH "SEE ALSO"
133 .SH ´ØÏ¢¹àÌÜ
134 .BR ecvt (3),
135 .BR qecvt (3),
136 .BR sprintf (3)