Changeset 609 for branches/GNU/src/binutils/libiberty/strtol.c
- Timestamp:
- Aug 16, 2003, 6:59:22 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/binutils/libiberty/strtol.c
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r608 r609 28 28 * SUCH DAMAGE. 29 29 */ 30 31 /* 32 33 @deftypefn Supplemental {long int} strtol (const char *@var{string}, char **@var{endptr}, int @var{base}) 34 @deftypefnx Supplemental {unsigned long int} strtoul (const char *@var{string}, char **@var{endptr}, int @var{base}) 35 36 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 38 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} 40 to indicate bases 8 and 16, respectively, else default to base 10. 41 When the base is 16 (either explicitly or implicitly), a prefix of 42 @code{0x} is allowed. The handling of @var{endptr} is as that of 43 @code{strtod} above. The @code{strtoul} function is the same, except 44 that the converted value is unsigned. 45 46 @end deftypefn 47 48 */ 30 49 31 50 #ifdef HAVE_CONFIG_H -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.