Manpage of ATOLL

Google
Web www.fiveanddime.net

ATOLL

Section: NEWLIB (3)
Updated: 2005 Feb 23
Index Return to Main Contents
 

NAME

1.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) including 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 ALSO

atoll is part of the libc library. The full documentation for libc is maintained as a Texinfo manual. If info and libc are properly installed at your site, the command
info libc

will give you access to the complete manual.


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURNS
PORTABILITY
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 21:25:12 GMT, May 16, 2005



www.fiveanddime.net








Google
Web www.fiveanddime.net