Manual Pages for UNIX Darwin command on man atol_l
MyWebUniversity

Manual Pages for UNIX Darwin command on man atol_l

ATOL(3) BSD Library Functions Manual ATOL(3)

NAME

aattooll, aattoollll, aattoollll, aattoollllll - convert ASCII string to long or long long

integer LLIIBBRRAARRYY

Standard C Library (libc, -lc)

SYNOPSIS

##iinncclluuddee <>

long aattooll(const char *nptr); long long aattoollll(const char *nptr);

##iinncclluuddee <>

long aattoollll(const char *nptr, localet loc); long long aattoollllll(const char *nptr, localet loc);

DESCRIPTION

The aattooll() function converts the initial portion of the string pointed to by nptr to long integer representation. It is equivalent to: strtol(nptr, (char **)NULL, 10); The aattoollll() function converts the initial portion of the string pointed to by nptr to long long integer representation. It is equivalent to: strtoll(nptr, (char **)NULL, 10); While the aattooll() and aattoollll() functions use the current locale, the aattoollll() and aattoollllll() functions may be passed locales directly. See xlocale(3) for more information. EERRRROORRSS The functions aattooll() and aattoollll() need not affect the value of errno on an error.

SEE ALSO

atof(3), atoi(3), strtod(3), strtol(3), strtoul(3), xlocale(3) STANDARDS The aattooll() function conforms to ISO/IEC 9899:1990 (``ISO C90''). The aattoollll() function conforms to ISO/IEC 9899:1999 (``ISO C99''). BSD November 28, 2001 BSD




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™