]> pd.if.org Git - pdclib/blob - functions/time/clock.c
PDCLib includes with quotes, not <>.
[pdclib] / functions / time / clock.c
1 /* clock( void )
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 <time.h>
8
9 #ifndef REGTEST
10
11 clock_t clock( void )
12 {
13     /* TODO: Placeholder implementation (valid but useless) */
14     return -1;
15 }
16
17 #endif
18
19 #ifdef TEST
20 #include "_PDCLIB_test.h"
21
22 int main( void )
23 {
24     TESTCASE( NO_TESTDRIVER );
25     return TEST_RESULTS;
26 }
27
28 #endif