SYNOPSIS
#include <stdlib.h>
long strtol(const char *nptr, char **endptr, int base);
DESCRIPTION
The
If base is non-zero, its value determines the set of recognized digits and overrides the optional base indicator character. If base is zero, nptr is assumed to be base 10, unless an optional base indicator character is given.
PARAMETERS
- nptr
-
Points to a character string for
strtol() to convert. - endptr
-
Is a result parameter that, if not NULL, returns a string beginning with the first character that
strtol() does not attempt to convert. - base
-
Is the base of the string, a value between 0 and 36.
RETURN VALUES
The
CONFORMANCE
ANSI/ISO 9899-1990.
MULTITHREAD SAFETY LEVEL
MT-Safe.
PORTING ISSUES
None.
AVAILABILITY
MKS Toolkit for Professional Developers
MKS Toolkit for Enterprise Developers
MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
MKS Toolkit 9.2 Documentation Build 16.