Ignore:
Timestamp:
Aug 16, 2003, 6:59:22 PM (22 years ago)
Author:
bird
Message:

binutils v2.14 - offical sources.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/binutils/libiberty/strtol.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    2828 * SUCH DAMAGE.
    2929 */
     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
     36The @code{strtol} function converts the string in @var{string} to a
     37long integer value according to the given @var{base}, which must be
     38between 2 and 36 inclusive, or be the special value 0.  If @var{base}
     39is 0, @code{strtol} will look for the prefixes @code{0} and @code{0x}
     40to indicate bases 8 and 16, respectively, else default to base 10.
     41When 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
     44that the converted value is unsigned.
     45
     46@end deftypefn
     47
     48*/
    3049
    3150#ifdef HAVE_CONFIG_H
Note: See TracChangeset for help on using the changeset viewer.