home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_disks / 200-299 / ff218.lzh / EdLib / man / HexToInt < prev    next >
Text File  |  1989-06-04  |  724b  |  30 lines

  1. HEXTOINT(3)                Library Functions               HEXTOINT(3)
  2.  
  3.  
  4.  
  5. NAME
  6.      hextoint - give the decimal value of a string of decimal digits
  7.  
  8. SYNOPSIS
  9.      #include <edlib.h>
  10.  
  11.      int hextoint(number)
  12.      char *number;
  13.  
  14. DESCRIPTION
  15.      Hextoint takes a string that may have been read in with scanf(3)
  16.      or from the console, and treats it as if it were a hexadecimal
  17.      number. The integer value of the hexadecimal number is returned.
  18.      Hextoint stops at the first character that is not a hexadecimal
  19.      digit. If the first character in the string is not a hexadecimal
  20.      digit, then a value of 0 is returned.
  21.  
  22. AUTHOR
  23.      Edwin Hoogerbeets 01/08/88
  24.  
  25. SEE ALSO
  26.      bintoint(3), dectoint(3), toint(3)
  27.  
  28.  
  29.  
  30.