]> pd.if.org Git - pdclib/blob - functions/_PDCLIB/digits.c
Comment cleanups.
[pdclib] / functions / _PDCLIB / digits.c
1 /* _PDCLIB_digits
2
3    This file is part of the Public Domain C Library (PDCLib).
4    Permission is granted to use, modify, and / or redistribute at will.
5 */
6
7 #include <_PDCLIB_int.h>
8
9 char _PDCLIB_digits[] = "0123456789abcdefghijklmnopqrstuvwxyz";
10
11 /* For _PDCLIB/print.c only; obsolete with ctype.h */
12 char _PDCLIB_Xdigits[] = "0123456789ABCDEF";
13
14 #ifdef TEST
15 #include <_PDCLIB_test.h>
16
17 #include <string.h>
18
19 int main( void )
20 {
21     TESTCASE( strcmp( _PDCLIB_digits, "0123456789abcdefghijklmnopqrstuvwxyz" ) == 0 );
22     TESTCASE( strcmp( _PDCLIB_Xdigits, "0123456789ABCDEF" ) == 0 );
23     return TEST_RESULTS;
24 }
25
26 #endif