29 lines
429 B
C
29 lines
429 B
C
/* clock( void )
|
|
|
|
This file is part of the Public Domain C Library (PDCLib).
|
|
Permission is granted to use, modify, and / or redistribute at will.
|
|
*/
|
|
|
|
#include <time.h>
|
|
|
|
#ifndef REGTEST
|
|
|
|
clock_t clock( void )
|
|
{
|
|
/* TODO: Placeholder implementation (valid but useless) */
|
|
return -1;
|
|
}
|
|
|
|
#endif
|
|
|
|
#ifdef TEST
|
|
#include "_PDCLIB_test.h"
|
|
|
|
int main( void )
|
|
{
|
|
TESTCASE( NO_TESTDRIVER );
|
|
return TEST_RESULTS;
|
|
}
|
|
|
|
#endif
|