]> pd.if.org Git - pdclib/blob - functions/_PDCLIB/digits.c
Removed the header include guard 'optimization'.
[pdclib] / functions / _PDCLIB / digits.c
1 /* $Id$ */
2
3 /* _PDCLIB_digits
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 <_PDCLIB_int.h>
10
11 char _PDCLIB_digits[] = "0123456789abcdefghijklmnopqrstuvwxyz";
12
13 /* For _PDCLIB/print.c only; obsolete with ctype.h */
14 char _PDCLIB_Xdigits[] = "0123456789ABCDEF";
15
16 #ifdef TEST
17 #include <_PDCLIB_test.h>
18
19 #include <string.h>
20
21 int main( void )
22 {
23     TESTCASE( strcmp( _PDCLIB_digits, "0123456789abcdefghijklmnopqrstuvwxyz" ) == 0 );
24     TESTCASE( strcmp( _PDCLIB_Xdigits, "0123456789ABCDEF" ) == 0 );
25     return TEST_RESULTS;
26 }
27
28 #endif