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