OSDN Git Service

72a877200ec247555288a409be6661b4bf0cf478
[linuxjm/LDP_man-pages.git] / release / man3 / gcvt.3
1 .\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk)
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 .\" References consulted:
24 .\"     Linux libc source code
25 .\"     Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
26 .\"     386BSD man pages
27 .\" Modified Sat Jul 24 19:32:25 1993 by Rik Faith (faith@cs.unc.edu)
28 .\"
29 .\" Japanese Version Copyright (c) 1997 Hiroaki Nagoya
30 .\"         all rights reserved.
31 .\" Translated Mon Feb 10 1997 by Hiroaki Nagoya <nagoya@is.titech.ac.jp>
32 .\" Updated & Modified Wed Feb 16 23:43:45 JST 2005
33 .\"         by Yuichi SATO <ysato444@yahoo.co.jp>
34 .\" Updated 2008-09-16, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
35 .\" Updated 2009-04-24, Akihiro MOTOKI, LDP v3.20
36 .\"
37 .TH GCVT 3 2009-03-15 "" "Linux Programmer's Manual"
38 .SH Ì¾Á°
39 gcvt \- ÉâÆ°¾®¿ôÅÀ¿ô¤òʸ»úÎó¤ØÊÑ´¹¤¹¤ë
40 .SH ½ñ¼°
41 .nf
42 .B #include <stdlib.h>
43 .sp
44 .BI "char *gcvt(double " number ", size_t " ndigit ", char *" buf );
45 .fi
46 .sp
47 .in -4n
48 glibc ¸þ¤±¤Îµ¡Ç½¸¡ºº¥Þ¥¯¥í¤ÎÍ×·ï
49 .RB ( feature_test_macros (7)
50 »²¾È):
51 .in
52 .sp
53 .BR gcvt ():
54 _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500
55 .SH ÀâÌÀ
56 ´Ø¿ô
57 .BR gcvt ()
58 ¤Ï¡¢ \fInumber\fP ¤ò¡¢ºÇû¤ÎŤµ¤Î NULL ½ªÃ¼¤µ¤ì¤¿ ASCII
59 ʸ»úÎó¤ØÊÑ´¹¤·¡¢ÊÑ´¹¸å¤Îʸ»úÎó¤ò \fIbuf\fP ¤Ë³ÊǼ¤¹¤ë¡£
60 .BR printf (3)
61 ¤Î F ¥Õ¥©¡¼¥Þ¥Ã¥È¤ä E ¥Õ¥©¡¼¥Þ¥Ã¥È¤Î¤è¤¦¤Ë \fIndigit\fP ·å¤Î
62 Í­¸ú¿ô»ú¤òÀ¸À®¤¹¤ë¡£
63 .SH ÊÖ¤êÃÍ
64 ´Ø¿ô
65 .BR gcvt ()
66 ¤Ïʸ»úÎó \fIbuf\fP ¤Ø¤Î¥Ý¥¤¥ó¥¿¤òÊÖ¤¹¡£
67 .SH ½àµò
68 POSIX.1-2001 ¤Ç¤Ï¡¢
69 ¤³¤Î´Ø¿ô¤Ï¡Ö²áµî¤Î̾»Ä (LEGACY)¡×¤È°ÌÃÖÉÕ¤±¤é¤ì¤Æ¤¤¤ë¡£
70 POSIX.1-2008 ¤Ç¤Ï¡¢
71 .BR gcvt ()
72 ¤Î»ÅÍͤϺï½ü¤µ¤ì¡¢
73 Âå¤ï¤ê¤Ë
74 .BR sprintf (3)
75 ¤ò»ÈÍѤ¹¤ë¤³¤È¤¬¿ä¾©¤µ¤ì¤Æ¤¤¤ë
76 .RB ( snprintf (3)
77 ¤ÎÊý¤¬Å¬ÀÚ¤«¤â¤·¤ì¤Ê¤¤¤¬)¡£
78 .SH ´ØÏ¢¹àÌÜ
79 .BR ecvt (3),
80 .BR fcvt (3),
81 .BR sprintf (3)