Mercurial > hg > CbC > CbC_gcc
comparison libiberty/strtol.c @ 69:1b10fe6932e1
merge 69
author | Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 21 Aug 2011 07:53:12 +0900 |
parents | f6334be47118 |
children |
comparison
equal
deleted
inserted
replaced
66:b362627d71ba | 69:1b10fe6932e1 |
---|---|
28 * SUCH DAMAGE. | 28 * SUCH DAMAGE. |
29 */ | 29 */ |
30 | 30 |
31 /* | 31 /* |
32 | 32 |
33 @deftypefn Supplemental {long int} strtol (const char *@var{string}, char **@var{endptr}, int @var{base}) | 33 @deftypefn Supplemental {long int} strtol (const char *@var{string}, @ |
34 @deftypefnx Supplemental {unsigned long int} strtoul (const char *@var{string}, char **@var{endptr}, int @var{base}) | 34 char **@var{endptr}, int @var{base}) |
35 @deftypefnx Supplemental {unsigned long int} strtoul (const char *@var{string}, @ | |
36 char **@var{endptr}, int @var{base}) | |
35 | 37 |
36 The @code{strtol} function converts the string in @var{string} to a | 38 The @code{strtol} function converts the string in @var{string} to a |
37 long integer value according to the given @var{base}, which must be | 39 long integer value according to the given @var{base}, which must be |
38 between 2 and 36 inclusive, or be the special value 0. If @var{base} | 40 between 2 and 36 inclusive, or be the special value 0. If @var{base} |
39 is 0, @code{strtol} will look for the prefixes @code{0} and @code{0x} | 41 is 0, @code{strtol} will look for the prefixes @code{0} and @code{0x} |