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

  1. @node _strtold, string
  2. @subheading Syntax
  3.  
  4. @example
  5. #include <stdlib.h>
  6.  
  7. long double _strtold(const char *s, char **endp);
  8. @end example
  9.  
  10. @subheading Description
  11.  
  12. This function converts as many characters of @var{s} that look like a
  13. floating point number into one, and sets @var{*endp} to point to the
  14. first unused character. 
  15.  
  16. @subheading Return Value
  17.  
  18. The value the string represented. 
  19.  
  20. @subheading Example
  21.  
  22. @example
  23. char *buf = "123ret";
  24. char *bp;
  25. long double x = _strtold(buf, &bp);
  26. @end example
  27.  
  28.