home *** CD-ROM | disk | FTP | other *** search
/ PC Extra Super CD 1998 January / PCPLUS131.iso / DJGPP / V2 / DJLSR201.ZIP / src / libc / ansi / stdlib / atold.txh < prev    next >
Encoding:
Text File  |  1995-07-10  |  575 b   |  30 lines

  1. @node _atold, string
  2. @subheading Syntax
  3.  
  4. @example
  5. #include <stdlib.h>
  6.  
  7. long double _atold(const char *string);
  8. @end example
  9.  
  10. @subheading Description
  11.  
  12. Convert as much of the string as possible to an equivalent long double
  13. precision real number.
  14.  
  15. This function is almost like @code{_strtold(string, NULL)} (@pxref{_strtold}).
  16.  
  17. @subheading Return Value
  18.  
  19. The equivalent value, or zero if the string does not represent a number. 
  20.  
  21. @subheading Example
  22.  
  23. @example
  24. main(int argc, char **argv)
  25. @{
  26.   long double d = _atold(argv[1]);
  27.   @dots{}
  28. @end example
  29.  
  30.