]> pd.if.org Git - pdclib/blob - functions/stdlib/atoll.c
Added atoi, atol, atoll plus internal helpers.
[pdclib] / functions / stdlib / atoll.c
1 /* $Id$ */
2
3 /* Release $Name$ */
4
5 /* atoll( const char * )
6
7    This file is part of the Public Domain C Library (PDCLib).
8    Permission is granted to use, modify, and / or redistribute at will.
9 */
10
11 #include <_PDCLIB_int.h>
12
13 long long int atoll( const char * s )
14 {
15     return (long long int) _PDCLIB_atomax( s );
16 }
17
18 #ifdef TEST
19 #include <_PDCLIB_test.h>
20
21 int main()
22 {
23     BEGIN_TESTS;
24     /* no tests for a simple wrapper */
25     return TEST_RESULTS;
26 }
27
28 #endif