OSDN Git Service

(split) Import translated manuals from JM CVS Repository.
[linuxjm/LDP_man-pages.git] / draft / man3 / strtoimax.3
1 .\" Copyright (c) 2003 Andries Brouwer (aeb@cwi.nl)
2 .\"
3 .\" This is free documentation; you can redistribute it and/or
4 .\" modify it under the terms of the GNU General Public License as
5 .\" published by the Free Software Foundation; either version 2 of
6 .\" the License, or (at your option) any later version.
7 .\"
8 .\" The GNU General Public License's references to "object code"
9 .\" and "executables" are to be interpreted as the output of any
10 .\" document formatting or typesetting system, including
11 .\" intermediate and printed output.
12 .\"
13 .\" This manual is distributed in the hope that it will be useful,
14 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
15 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 .\" GNU General Public License for more details.
17 .\"
18 .\" You should have received a copy of the GNU General Public
19 .\" License along with this manual; if not, write to the Free
20 .\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111,
21 .\" USA.
22 .\"
23 .\" Japanese Version Copyright (c) 2004 Yuichi SATO
24 .\"         all rights reserved.
25 .\" Translated Sun Sep  5 21:02:09 JST 2004
26 .\"         by Yuichi SATO <ysato444@yahoo.co.jp>
27 .\"
28 .TH STRTOIMAX 3 2003-11-28 "" "Linux Programmer's Manual"
29 .\"O .SH NAME
30 .SH Ì¾Á°
31 .\"O strtoimax, strtoumax \- convert string to integer
32 strtoimax, strtoumax \- Ê¸»úÎó¤òÀ°¿ô¤ËÊÑ´¹¤¹¤ë
33 .\"O .SH SYNOPSIS
34 .SH ½ñ¼°
35 .nf
36 .B #include <inttypes.h>
37 .sp
38 .BI "intmax_t strtoimax(const char *" nptr ", char **" endptr ", int " base );
39 .br
40 .BI "uintmax_t strtoumax(const char *" nptr ", char **" endptr ", int " base );
41 .fi
42 .\"O .SH DESCRIPTION
43 .SH ÀâÌÀ
44 .\"O These functions are just like
45 .\"O .BR strtol (3)
46 .\"O and
47 .\"O .BR strtoul (3),
48 .\"O except that they return a value of type
49 .\"O .I intmax_t
50 .\"O and
51 .\"O .IR uintmax_t ,
52 .\"O respectively.
53 ¤³¤ì¤é¤Î´Ø¿ô¤Ï¤Á¤ç¤¦¤É
54 .BR strtol (3)
55 ¤È
56 .BR strtoul (3)
57 ¤Ë»÷¤Æ¤¤¤ë¤¬¡¢¤½¤ì¤¾¤ì
58 .I intmax_t
59 ¤È
60 .I uintmax_t
61 ·¿¤ÎÃͤòÊÖ¤¹¡£
62 .\"O .SH "RETURN VALUE"
63 .SH ÊÖ¤êÃÍ
64 .\"O On success, the converted value is returned.
65 .\"O If nothing was found to convert, zero is returned.
66 À®¸ù¤·¤¿¾ì¹ç¡¢ÊÑ´¹¤µ¤ì¤¿Ãͤ¬ÊÖ¤µ¤ì¤ë¡£
67 ÊÑ´¹¤¹¤ë¤â¤Î¤¬¸«¤Ä¤«¤é¤Ê¤«¤Ã¤¿¾ì¹ç¡¢0 ¤¬ÊÖ¤µ¤ì¤ë¡£
68 .\"O On overflow or underflow
69 .\"O .B INTMAX_MAX
70 .\"O or
71 .\"O .B INTMAX_MIN
72 .\"O or
73 .\"O .B UINTMAX_MAX
74 .\"O is returned, and
75 .\"O .I errno
76 .\"O is set to
77 .\"O .BR ERANGE .
78 ¥ª¡¼¥Ð¡¼¥Õ¥í¡¼¤Þ¤¿¤Ï¥¢¥ó¥À¡¼¥Õ¥í¡¼¤Î¾ì¹ç¡¢
79 .B INTMAX_MAX
80 ¤Þ¤¿¤Ï
81 .B INTMAX_MIN
82 ¤Þ¤¿¤Ï
83 .B UINTMAX_MAX
84 ¤¬ÊÖ¤µ¤ì¡¢
85 .I errno
86 ¤¬
87 .B ERANGE
88 ¤ËÀßÄꤵ¤ì¤ë¡£
89 .\"O .SH "CONFORMING TO"
90 .SH ½àµò
91 C99, POSIX.1-2001.
92 .\"O .SH "SEE ALSO"
93 .SH ´ØÏ¢¹àÌÜ
94 .BR imaxabs (3),
95 .BR imaxdiv (3),
96 .BR strtol (3),
97 .BR strtoul (3),
98 .BR wcstoimax (3)