]> pd.if.org Git - pdclib/blobdiff - functions/time/ctime.c
time.h stubs.
[pdclib] / functions / time / ctime.c
diff --git a/functions/time/ctime.c b/functions/time/ctime.c
new file mode 100644 (file)
index 0000000..e9c37c9
--- /dev/null
@@ -0,0 +1,27 @@
+/* ctime( const time_t * )
+
+   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
+
+char * ctime( const time_t * timer )
+{
+    return NULL;
+}
+
+#endif
+
+#ifdef TEST
+
+#include "_PDCLIB_test.h"
+
+int main( void )
+{
+    return NO_TESTDRIVER;
+}
+
+#endif