]> pd.if.org Git - pdclib/blobdiff - functions/stdio/puts.c
Added any files yet missing for stdio.h.
[pdclib] / functions / stdio / puts.c
diff --git a/functions/stdio/puts.c b/functions/stdio/puts.c
new file mode 100644 (file)
index 0000000..40c9727
--- /dev/null
@@ -0,0 +1,30 @@
+/* $Id$ */
+
+/* puts( const char * )
+
+   This file is part of the Public Domain C Library (PDCLib).
+   Permission is granted to use, modify, and / or redistribute at will.
+*/
+
+#include <stdio.h>
+
+#ifndef REGTEST
+
+int puts( const char * s )
+{
+    /* TODO: Implement. */
+    return 0;
+}
+
+#endif
+
+#ifdef TEST
+#include <_PDCLIB_test.h>
+
+int main( void )
+{
+    TESTCASE( NO_TESTDRIVER );
+    return TEST_RESULTS;
+}
+
+#endif