X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;ds=sidebyside;f=functions%2Ftime%2Fclock.c;fp=functions%2Ftime%2Fclock.c;h=e4cca240ba85ff14bb342e6af228a6b87d484273;hb=18dee35aba1ae0fcdecb0cd11d4f3c1a0d94b51e;hp=0000000000000000000000000000000000000000;hpb=2b10f10cde517fede45e620a0c3a7948d90afd7b;p=pdclib diff --git a/functions/time/clock.c b/functions/time/clock.c new file mode 100644 index 0000000..e4cca24 --- /dev/null +++ b/functions/time/clock.c @@ -0,0 +1,27 @@ +/* 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 + +#ifndef REGTEST + +clock_t clock( void ) +{ + return -1; +} + +#endif + +#ifdef TEST + +#include "_PDCLIB_test.h" + +int main( void ) +{ + return NO_TESTDRIVER; +} + +#endif