ATOLL(3) NEWLIB ATOLL(3)NAME
2.9 `atoll'--convert a string to a long long integer
SYNOPSIS
#include <stdlib.h>
long long atoll(const char *STR);
long long _atoll_r(struct _reent *PTR, const char *STR);
DESCRIPTION
The function `atoll' converts the initial portion of the string pointed
to by `*STR' to a type `long long'. A call to atoll(str) in this
implementation is equivalent to strtoll(str, (char **)NULL, 10) includâ
ing behavior on error.
The alternate function `_atoll_r' is a reentrant version. The extra
argument REENT is a pointer to a reentrancy structure.
RETURNS
The converted value.
PORTABILITY
`atoll' is ISO 9899 (C99) and POSIX 1003.1-2001 compatable.
No supporting OS subroutines are required.
SEE ALSOatoll is part of the library. The full documentation for is maintained
as a Texinfo manual. If info and are properly installed at your site,
the command
info
will give you access to the complete manual.
NEWLIB April 2010 ATOLL(3)