]> pd.if.org Git - pdclib/blobdiff - functions/stdio/perror.c
Added any files yet missing for stdio.h.
[pdclib] / functions / stdio / perror.c
diff --git a/functions/stdio/perror.c b/functions/stdio/perror.c
new file mode 100644 (file)
index 0000000..c59ca0b
--- /dev/null
@@ -0,0 +1,30 @@
+/* $Id$ */
+
+/* perror( 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
+
+void perror( const char * s )
+{
+    /* TODO: Implement. */
+    return;
+}
+
+#endif
+
+#ifdef TEST
+#include <_PDCLIB_test.h>
+
+int main( void )
+{
+    TESTCASE( NO_TESTDRIVER );
+    return TEST_RESULTS;
+}
+
+#endif