qc.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
strtod, strtol, strtoul
 Description Example                     Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Include:   <stdlib.h>
 
  Syntax:    double strtod( char *nptr, char **endptr );
             long double _strtold ( char *nptr, char **endptr );
             long strtol( char *nptr, char **endptr, int base );
             unsigned long strtoul( char *nptr, char **endptr, int base );
 
  Returns:   (strtod) the converted value; overflow returns ± HUGE_VAL,
                      underflow returns 0.
             (_strtold) the long double-precision value of the floating-
                        point number if successful; LHUGE_VAL on
                        overflow; 0 otherwise
             (strtol) the converted value; overflow returns LONG_MAX or
                      LONG_MIN, depending on sign of converted value.
             (strtoul) the converted value if successful, or 0 if not;
                       and ULONG_MAX on overflow.
 
  See also:  atof, atol
                                    -♦-