/* $Id$ */
-/* Release $Name$ */
-
/* strncmp( const char *, const char *, size_t )
This file is part of the Public Domain C Library (PDCLib).
#ifdef TEST
#include <_PDCLIB_test.h>
-int main()
+int main( void )
{
char cmpabcde[] = "abcde";
char empty[] = "";
char x[] = "x";
- BEGIN_TESTS;
TESTCASE( strncmp( abcde, cmpabcde, 5 ) == 0 );
TESTCASE( strncmp( abcde, abcdx, 5 ) < 0 );
TESTCASE( strncmp( abcdx, abcde, 5 ) > 0 );