[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

2.3.0.10 bfd_scan_vma

Synopsis
 
bfd_vma bfd_scan_vma (const char *string, const char **end, int base);
Description
Convert, like strtoul, a numerical expression string into a bfd_vma integer, and return that integer. (Though without as many bells and whistles as strtoul.) The expression is assumed to be unsigned (i.e., positive). If given a base, it is used as the base for conversion. A base of 0 causes the function to interpret the string in hex if a leading "0x" or "0X" is found, otherwise in octal if a leading zero is found, otherwise in decimal.

If the value would overflow, the maximum bfd_vma value is returned.



This document was generated by system on December, 2 2004 using texi2html