SYNOPSIS
#include <stdlib.h>
long atol(const char *nptr);
long long atoll(const char *nptr);
DESCRIPTION
The
The call atol(nptr) is equivalent to:
strtol(nptr,(char **)NULL, 10)
The
The call atoll(nptr) is equivalent to:
strtoll(nptr,(char **)NULL, 10)
PARAMETERS
RETURN VALUES
The
If the converted value overflows, LONG_MIN or LONG_MAX is returned (according to the sign of the value) and errno is set to ERANGE. If no character could be converted, zero is returned.
CONFORMANCE
MULTITHREAD SAFETY LEVEL
MT-Safe.
PORTING ISSUES
None.
AVAILABILITY
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
PTC MKS Toolkit 10.4 Documentation Build 39.