comparison libiberty/strtol.c @ 67:f6334be47118

update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
author nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
date Tue, 22 Mar 2011 17:18:12 +0900
parents a06113de4d67
children
comparison
equal deleted inserted replaced
65:65488c3d617d 67:f6334be47118
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}